r94486 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r94485‎ | r94486 | r94487 >
Date:04:02, 15 August 2011
Author:skizzerz
Status:ok
Tags:
Comment:
* Follow-up to r91284: fix error in Action::exists by passing empty array as required second parameter to Action::getClass
Modified paths:
  • /trunk/phase3/includes/Action.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/Action.php
@@ -92,7 +92,7 @@
9393 * @return Bool
9494 */
9595 public final static function exists( $name ) {
96 - return self::getClass( $name ) !== null;
 96+ return self::getClass( $name, array() ) !== null;
9797 }
9898
9999 /**

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r91284* Changed action=revert to use a subclass of Action...ialex20:07, 1 July 2011

Status & tagging log