Commit 638db58da09e497b0957f1ca8658c6680865a857
1 parent
95ebd7a5
Exists in
master
and in
101 other branches
RequestMgr constructor need nodeType as argument
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
... | ... | @@ -580,9 +580,9 @@ class UserMgr |
580 | 580 | |
581 | 581 | $ok = $this->makeRemoteTree(); |
582 | 582 | |
583 | - if (!file_exists(USERWSDIR.'Request.xml')) $reqMgr = new RequestMgr(); | |
583 | + /*if (!file_exists(USERWSDIR.'Request.xml')) $reqMgr = new RequestMgr(); | |
584 | 584 | if (!file_exists(USERWSDIR.'Tt.xml')) $ttMgr = new TimeTableMgr(); |
585 | - if (!file_exists(USERWSDIR.'Alias.xml')) $ttMgr = new AliasMgr(); | |
585 | + if (!file_exists(USERWSDIR.'Alias.xml')) $ttMgr = new AliasMgr();*/ | |
586 | 586 | |
587 | 587 | //TODO sessionID = user + WSname |
588 | 588 | $sessionID = $this->user; |
... | ... |