r65821 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r65820‎ | r65821 | r65822 >
Date:20:53, 2 May 2010
Author:btongminh
Status:ok
Tags:
Comment:
Fix for r65818.
Modified paths:
  • /trunk/phase3/includes/upload/UploadBase.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/upload/UploadBase.php
@@ -91,7 +91,7 @@
9292 * Can be overriden by subclasses.
9393 */
9494 public static function isAllowed( $user ) {
95 - foreach ( self::getRequiredPermissions as $permission ) {
 95+ foreach ( self::getRequiredPermissions() as $permission ) {
9696 if ( !$user->isAllowed( $permission ) ) {
9797 return $permission;
9898 }

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r65818(bug 18408) All required permissions for uploading (upload, edit, create) are...btongminh20:34, 2 May 2010

Status & tagging log