Fo0bar has submitted this change and it was merged.

Change subject: Replacing deprecated getLang function.
......................................................................


Replacing deprecated getLang function.

Replace the getLang() function on line 81 with the new
getLanguage() function.

Change-Id: I77ab28ee52c2f37010a4566ca0357cdef3f54669
Signed-off-by: Bill Traynor <btray...@gmail.com>
---
M GoogleSiteSearch.php
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Fo0bar: Verified; Looks good to me, approved
  jenkins-bot: Checked



diff --git a/GoogleSiteSearch.php b/GoogleSiteSearch.php
index c2d70c5..3552961 100644
--- a/GoogleSiteSearch.php
+++ b/GoogleSiteSearch.php
@@ -78,7 +78,7 @@
        }
 
        $dir = dirname( __FILE__ ) . '/';
-       $lang = $t->getLang();
+       $lang = $t->getLanguage();
 
        # Allow for local overrides of the base HTML
        if ( file_exists( $dir . 'GoogleSiteSearch.content.html' ) ) {

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I77ab28ee52c2f37010a4566ca0357cdef3f54669
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/GoogleSiteSearch
Gerrit-Branch: master
Gerrit-Owner: Wmat <btray...@gmail.com>
Gerrit-Reviewer: Fo0bar <r...@finnie.org>
Gerrit-Reviewer: jenkins-bot <>

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

Reply via email to