@@ -207,7 +207,7 @@ |
||
| 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 | } |
@@ -98,7 +98,7 @@ |
||
| 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 | } |