Completed
Pull Request — master (#875)
by
unknown
30:11 queued 10:15
created
Classes/GarbageCollector.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -207,7 +207,7 @@
 block discarded – undo
207 207
             $solrConnections = $connectionManager->getConnectionsBySite($site);
208 208
             foreach ($solrConnections as $solr) {
209 209
                 $solr->deleteByQuery('type:' . $table . ' AND uid:' . intval($uid));
210
-                if($solrConfiguration->getEnableCommits()) {
210
+                if ($solrConfiguration->getEnableCommits()) {
211 211
                     $solr->commit(false, false, false);
212 212
                 }
213 213
             }
Please login to merge, or discard this patch.
Classes/Task/ReIndexTask.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -98,7 +98,7 @@
 block discarded – undo
98 98
                 . ' AND siteHash:' . $this->site->getSiteHash();
99 99
             $solrServer->deleteByQuery($deleteQuery);
100 100
 
101
-            if(!$solrConfiguration->getEnableCommits()) {
101
+            if (!$solrConfiguration->getEnableCommits()) {
102 102
                 # Do not commit
103 103
                 continue;
104 104
             }
Please login to merge, or discard this patch.