@@ -178,8 +178,7 @@ |
||
178 | 178 | $completePath = '(' .escapeshellcmd($this->getCrawlerCliPath()) . ' &) > /dev/null'; |
179 | 179 | if (system($completePath) === FALSE) { |
180 | 180 | throw new Exception('could not start process!'); |
181 | - } |
|
182 | - else { |
|
181 | + } else { |
|
183 | 182 | for ($i=0;$i<10;$i++) { |
184 | 183 | if ($this->processRepository->countNotTimeouted($ttl) > $current) { |
185 | 184 | return true; |
@@ -76,7 +76,9 @@ |
||
76 | 76 | if ($params['pObj']->applicationData['tx_crawler']['running']) { |
77 | 77 | $grList = $params['pObj']->applicationData['tx_crawler']['parameters']['feUserGroupList']; |
78 | 78 | if ($grList) { |
79 | - if (!is_array($params['pObj']->fe_user->user)) $params['pObj']->fe_user->user = []; |
|
79 | + if (!is_array($params['pObj']->fe_user->user)) { |
|
80 | + $params['pObj']->fe_user->user = []; |
|
81 | + } |
|
80 | 82 | $params['pObj']->fe_user->user['usergroup'] = $grList; |
81 | 83 | $params['pObj']->applicationData['tx_crawler']['log'][] = 'User Groups: '.$grList; |
82 | 84 | } |