Mobrovac has uploaded a new change for review.

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

Change subject: Fix function call
......................................................................

Fix function call

Change-Id: I8ec45f036fb46e7dc2dda90b6f576d2c1a63cce2
---
M RestbaseUpdate.hooks.php
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull 
ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/RestBaseUpdateJobs 
refs/changes/60/196460/1

diff --git a/RestbaseUpdate.hooks.php b/RestbaseUpdate.hooks.php
index 5948457..3de2d33 100644
--- a/RestbaseUpdate.hooks.php
+++ b/RestbaseUpdate.hooks.php
@@ -148,7 +148,7 @@
         */
        public static function onFileUpload( File $file ) {
 
-               self::updateTitle( $file->getTitle(), 'file' );
+               self::schedule( $file->getTitle(), 'file' );
                return true;
 
        }

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I8ec45f036fb46e7dc2dda90b6f576d2c1a63cce2
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/RestBaseUpdateJobs
Gerrit-Branch: master
Gerrit-Owner: Mobrovac <mobro...@wikimedia.org>

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

Reply via email to