r76670 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r76669‎ | r76670 | r76671 >
Date:19:53, 14 November 2010
Author:ialex
Status:deferred
Tags:
Comment:
Remove unused hook
Modified paths:
  • /trunk/extensions/WhiteListEdit/WhiteListAuth.php (modified) (history)
  • /trunk/extensions/WhiteListEdit/WhiteListEdit.php (modified) (history)

Diff [purge]

Index: trunk/extensions/WhiteListEdit/WhiteListAuth.php
@@ -340,11 +340,5 @@
341341 }
342342 return true;
343343 }
344 -
345 - // TODO - this is missing from Siebrand's changes
346 - function CheckSchema()
347 - {
348 - return true;
349 - }
350344 } /* End class */
351345
Index: trunk/extensions/WhiteListEdit/WhiteListEdit.php
@@ -108,11 +108,5 @@
109109 return WhiteListHooks::AddRestrictedPagesTab($personal_urls, $title );
110110 }
111111
112 -// TODO - this is missing from Siebrand's changes
113 -function WL_doCheckSchema() {
114 - return WhiteListHooks::CheckSchema();
115 -}
116 -
117112 $wgHooks['PersonalUrls'][] = 'WL_doAddRestrictedPagesTab';
118113 $wgHooks['userCan'][] = 'WL_doCheckWhiteList';
119 -$wgHooks['LoadExtensionSchemaUpdates'][] = 'WL_doCheckSchema';

Status & tagging log