Commit 5a528ac3a808c804b48e7457c4ccfc2612a91db8
Exists in
master
and in
101 other branches
Merge branch 'master' of https://gitlab.irap.omp.eu/CDPP/AMDA_IHM
Showing
2 changed files
with
4 additions
and
4 deletions
Show diff stats
php/classes/AmdaAction.php
... | ... | @@ -172,12 +172,12 @@ class AmdaAction |
172 | 172 | break; |
173 | 173 | |
174 | 174 | case 'condition': |
175 | - $objectMgr = new RequestMgr(); | |
175 | + $objectMgr = new RequestMgr($nodeType); | |
176 | 176 | $info = $objectMgr->getObject($id)->expression; |
177 | 177 | break; |
178 | 178 | |
179 | 179 | case 'request': |
180 | - $objectMgr = new RequestMgr(); | |
180 | + $objectMgr = new RequestMgr($nodeType); | |
181 | 181 | $objplot = $objectMgr->getObject($id); |
182 | 182 | if (isset($objplot->name)) { |
183 | 183 | $info = $objplot->name; |
... | ... |
php/classes/UserMgr.php
... | ... | @@ -586,9 +586,9 @@ class UserMgr |
586 | 586 | |
587 | 587 | $ok = $this->makeRemoteTree(); |
588 | 588 | |
589 | - if (!file_exists(USERWSDIR.'Request.xml')) $reqMgr = new RequestMgr(); | |
589 | + /*if (!file_exists(USERWSDIR.'Request.xml')) $reqMgr = new RequestMgr(); | |
590 | 590 | if (!file_exists(USERWSDIR.'Tt.xml')) $ttMgr = new TimeTableMgr(); |
591 | - if (!file_exists(USERWSDIR.'Alias.xml')) $ttMgr = new AliasMgr(); | |
591 | + if (!file_exists(USERWSDIR.'Alias.xml')) $ttMgr = new AliasMgr();*/ | |
592 | 592 | |
593 | 593 | //TODO sessionID = user + WSname |
594 | 594 | $sessionID = $this->user; |
... | ... |