Ori.livneh has uploaded a new change for review.

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


Change subject: MWInit::classExists -> class_exists
......................................................................

MWInit::classExists -> class_exists

MWInit::classExists is deprecated as of 1.22 in favor of the
class_exists PHP built-in.

Change-Id: I0764c08e49d8f1f8adfac269c86c4ba226170611
---
M CentralAuth.php
1 file changed, 1 insertion(+), 1 deletion(-)


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

diff --git a/CentralAuth.php b/CentralAuth.php
index 20e7a47..6049e63 100644
--- a/CentralAuth.php
+++ b/CentralAuth.php
@@ -420,7 +420,7 @@
 // If AntiSpoof is installed, we can do some AntiSpoof stuff for CA
 // Though, doing it this way, AntiSpoof has to be loaded/included first
 // I guess this is bug 30234
-if ( MWInit::classExists( 'AntiSpoof' ) ) {
+if ( class_exists( 'AntiSpoof' ) ) {
        $wgExtensionCredits['antispam'][] = array(
                'path' => __FILE__,
                'name' => 'AntiSpoof for CentralAuth',

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I0764c08e49d8f1f8adfac269c86c4ba226170611
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/CentralAuth
Gerrit-Branch: master
Gerrit-Owner: Ori.livneh <o...@wikimedia.org>

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

Reply via email to