Siebrand has uploaded a new change for review.

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


Change subject: Remove use of deprecated methods
......................................................................

Remove use of deprecated methods

Change-Id: Ifa04f4c3fc5295bb107a5d4b3a394727824e29ac
---
M CentralAuthUser.php
M specials/SpecialMultiLock.php
2 files changed, 3 insertions(+), 3 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/CentralAuth 
refs/changes/95/77695/1

diff --git a/CentralAuthUser.php b/CentralAuthUser.php
index 5108af4..f62f31c 100644
--- a/CentralAuthUser.php
+++ b/CentralAuthUser.php
@@ -1279,7 +1279,7 @@
                                        Title::makeTitleSafe( NS_USER, 
$this->getName() ),
                                        $jobParams );
                        }
-                       Job::batchInsert( $jobs );
+                       JobQueueGroup::singleton()->push( $jobs );
                }
        }
 
diff --git a/specials/SpecialMultiLock.php b/specials/SpecialMultiLock.php
index e51ab36..e368a9d 100644
--- a/specials/SpecialMultiLock.php
+++ b/specials/SpecialMultiLock.php
@@ -47,7 +47,7 @@
                }
 
                if ( $this->mPrefixSearch !== '' ) {
-                       $this->mPrefixSearch = $this->getLang()->ucfirst( trim( 
$this->mPrefixSearch ) );
+                       $this->mPrefixSearch = $this->getLanguage()->ucfirst( 
trim( $this->mPrefixSearch ) );
                }
 
                if ( $this->mMethod === '' ) {
@@ -83,7 +83,7 @@
                if ( $username === '' ) {
                        return false;
                }
-               $username = $this->getLang()->ucfirst( $username );
+               $username = $this->getLanguage()->ucfirst( $username );
 
                $globalUser = new CentralAuthUser( $username );
                if ( !$globalUser->exists()

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ifa04f4c3fc5295bb107a5d4b3a394727824e29ac
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/CentralAuth
Gerrit-Branch: master
Gerrit-Owner: Siebrand <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to