Commit e1378de71ac983b047cfcae3447fc08dc42d51d6

Authored by Neil Blakey-Milner
1 parent 48318fc8

Remove unused code from file that's unused itself...


git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3424 c91229c3-7414-0410-bfa2-8a42b809f60b
presentation/lookAndFeel/knowledgeTree/administration/unitmanagement/editUnitOrgBL.php
... ... @@ -58,26 +58,6 @@ if (checkSession()) {
58 58 $oPatternCustom->setHtml(getPage(null,null));
59 59 $main->setFormAction($_SERVER["PHP_SELF"] . "?fUserSet=1");
60 60 }
61   -
62   - if(isset($fGroupSet)) {
63   - if($fOtherGroupID) {
64   - $oPatternCustom->setHtml("Add");
65   - } else {
66   - $oPatternCustom->setHtml("Delete");
67   - $main->setFormAction($_SERVER["PHP_SELF"] . "?fDeleteConfirmed=1&fGroupID=$fGroupID");
68   - }
69   - }
70   -
71   - if (isset($fDeleteConfirmed)) {
72   - // else add to db and then goto page succes
73   - $oUserGroup = new GroupUserLink($fGroupID, $fUserID);
74   - $oUserGroup->setUserGroupID($fGroupID,$fUserID);
75   - if($oUserGroup->delete()) {
76   - $oPatternCustom->setHtml(getPageSuccess());
77   - } else {
78   - $oPatternCustom->setHtml(getPageFail());
79   - }
80   - }
81 61  
82 62 // render page
83 63 $main->setCentralPayload($oPatternCustom);
... ...