Completed
Push — issue/174-old ( 189131 )
by Tomas Norre
10:17 queued 01:09
created
domain/process/class.tx_crawler_domain_process_manager.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -178,8 +178,7 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.
Classes/Hooks/TsfeHook.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -76,7 +76,9 @@
 block discarded – undo
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
             }
Please login to merge, or discard this patch.