Chad has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/105861


Change subject: Doesn't need to be static
......................................................................

Doesn't need to be static

Change-Id: Id820ad0431ab8baff7eebfa658b46bb60190686f
---
M includes/LinksUpdateJob.php
1 file changed, 3 insertions(+), 3 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/CirrusSearch 
refs/changes/61/105861/1

diff --git a/includes/LinksUpdateJob.php b/includes/LinksUpdateJob.php
index 3e3b405..f75e8e2 100644
--- a/includes/LinksUpdateJob.php
+++ b/includes/LinksUpdateJob.php
@@ -60,8 +60,8 @@
                } else {
                        // Load the titles and filter out any that no longer 
exist.
                        Updater::updateLinkedArticles(
-                               self::loadTitles( $this->params[ 'addedLinks' ] 
),
-                               self::loadTitles( $this->params[ 'removedLinks' 
] ) );
+                               $this->loadTitles( $this->params[ 'addedLinks' 
] ),
+                               $this->loadTitles( $this->params[ 
'removedLinks' ] ) );
                }
        }
 
@@ -70,7 +70,7 @@
         * @param Title|string $title Either a Title or a string to be loaded.
         * @return array(Title) loaded titles
         */
-       private static function loadTitles( $titles ) {
+       private function loadTitles( $titles ) {
                $result = array();
                foreach ( $titles as $title ) {
                        // TODO remove support for Title objects when the 
queues have drained of them

-- 
To view, visit https://gerrit.wikimedia.org/r/105861
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Id820ad0431ab8baff7eebfa658b46bb60190686f
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/CirrusSearch
Gerrit-Branch: master
Gerrit-Owner: Chad <ch...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to