Commit f5fb63d71f28ba6014a0414a7a20acd884f8177e
1 parent
7ecd0666
removed comments
git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@2346 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
1 changed file
with
0 additions
and
8 deletions
presentation/lookAndFeel/knowledgeTree/documentmanagement/createDependantDocumentBL.php
| ... | ... | @@ -22,12 +22,6 @@ if (checkSession()) { |
| 22 | 22 | require_once("$default->fileSystemRoot/presentation/Html.inc"); |
| 23 | 23 | require_once("$default->fileSystemRoot/presentation/lookAndFeel/knowledgeTree/foldermanagement/folderUI.inc"); |
| 24 | 24 | |
| 25 | - | |
| 26 | - //TODO REMOVE THIS LINE - FOR TESTING ONLY!!!! | |
| 27 | - if (!isset($fDocumentID)) { | |
| 28 | - $fDocumentID = 1; | |
| 29 | - } | |
| 30 | - | |
| 31 | 25 | if (isset($fForStore)) { |
| 32 | 26 | $oDependantDocument = & new DependantDocumentInstance($fDocumentTitle, $fUserID, $fTargetDocumentID, $fDocumentID); |
| 33 | 27 | if ($oDependantDocument->create()) { |
| ... | ... | @@ -62,7 +56,6 @@ if (checkSession()) { |
| 62 | 56 | $main->setFormAction($_SERVER["PHP_SELF"] . "?fDocumentID=$fDocumentID&fForStore=1"); |
| 63 | 57 | $main->setErrorMessage("An error occurred whilst trying to create the dependant document"); |
| 64 | 58 | $main->render(); |
| 65 | - | |
| 66 | 59 | } |
| 67 | 60 | } else { |
| 68 | 61 | require_once("$default->fileSystemRoot/presentation/webpageTemplate.inc"); |
| ... | ... | @@ -77,5 +70,4 @@ if (checkSession()) { |
| 77 | 70 | $main->render(); |
| 78 | 71 | } |
| 79 | 72 | } |
| 80 | - | |
| 81 | 73 | ?> |
| 82 | 74 | \ No newline at end of file | ... | ... |