r38999 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r38998‎ | r38999 | r39000 >
Date:14:11, 9 August 2008
Author:ialex
Status:old
Tags:
Comment:
PHP 5.3.0alpha1 compatibility (same issue as r38995: E_WARNING: argument 3 cannot be passed by reference, value given)
Modified paths:
  • /trunk/extensions/GlobalBlocking/GlobalBlocking.php (modified) (history)

Diff [purge]

Index: trunk/extensions/GlobalBlocking/GlobalBlocking.php
@@ -68,7 +68,7 @@
6969 $wgApplyGlobalBlocks = true;
7070
7171 class GlobalBlocking {
72 - static function getUserPermissionsErrors( &$title, &$user, &$action, &$result ) {
 72+ static function getUserPermissionsErrors( &$title, &$user, $action, &$result ) {
7373 global $wgApplyGlobalBlocks;
7474 if ($action == 'read' || !$wgApplyGlobalBlocks) {
7575 return true;

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r38995For compatibility with PHP 5.3.0alpha1: specify class name instead of passing...ialex13:31, 9 August 2008

Status & tagging log