Small doc fix to JobQueueRedis.
[lhc/web/wiklou.git] / includes / LinksUpdate.php
index d99ae22..f54487a 100644 (file)
@@ -840,14 +840,14 @@ class LinksDeletionUpdate extends SqlDataUpdate {
                $id = $this->mPage->getId();
 
                # Delete restrictions for it
-               $this->mDb->delete( 'page_restrictions', array ( 'pr_page' => $id ), __METHOD__ );
+               $this->mDb->delete( 'page_restrictions', array( 'pr_page' => $id ), __METHOD__ );
 
                # Fix category table counts
                $cats = array();
                $res = $this->mDb->select( 'categorylinks', 'cl_to', array( 'cl_from' => $id ), __METHOD__ );
 
                foreach ( $res as $row ) {
-                       $cats [] = $row->cl_to;
+                       $cats[] = $row->cl_to;
                }
 
                $this->mPage->updateCategoryCounts( array(), $cats );