jenkins-bot has submitted this change and it was merged.

Change subject: Clean up argument lists
......................................................................


Clean up argument lists

Remove unused parameters from the require() argument lists of two
modules, left over from an earlier phase of development.

Change-Id: Ib55d19fb9adffed2153a9cb3788533c4b70b5e26
---
M engines/LuaCommon/TitleLibrary.php
M engines/LuaCommon/UriLibrary.php
2 files changed, 2 insertions(+), 2 deletions(-)

Approvals:
  Aaron Schulz: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/engines/LuaCommon/TitleLibrary.php 
b/engines/LuaCommon/TitleLibrary.php
index b97c68c..44fe8a4 100644
--- a/engines/LuaCommon/TitleLibrary.php
+++ b/engines/LuaCommon/TitleLibrary.php
@@ -8,7 +8,7 @@
        private $titleCache = array();
        private $idCache = array();
 
-       function register( $pureLua = false ) {
+       function register() {
                $lib = array(
                        'newTitle' => array( $this, 'newTitle' ),
                        'makeTitle' => array( $this, 'makeTitle' ),
diff --git a/engines/LuaCommon/UriLibrary.php b/engines/LuaCommon/UriLibrary.php
index 71ae5ba..d6f2491 100644
--- a/engines/LuaCommon/UriLibrary.php
+++ b/engines/LuaCommon/UriLibrary.php
@@ -1,7 +1,7 @@
 <?php
 
 class Scribunto_LuaUriLibrary extends Scribunto_LuaLibraryBase {
-       function register( $pureLua = false ) {
+       function register() {
                $lib = array(
                        'anchorEncode' => array( $this, 'anchorEncode' ),
                        'localUrl' => array( $this, 'localUrl' ),

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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ib55d19fb9adffed2153a9cb3788533c4b70b5e26
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Scribunto
Gerrit-Branch: master
Gerrit-Owner: Anomie <[email protected]>
Gerrit-Reviewer: Aaron Schulz <[email protected]>
Gerrit-Reviewer: jenkins-bot

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

Reply via email to