r64163 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r64162‎ | r64163 | r64164 >
Date:17:55, 25 March 2010
Author:maxsem
Status:ok
Tags:
Comment:
What's the point of suppressing a notice and then immediately spit it in an unsuppressable way?
Modified paths:
  • /branches/new-installer/phase3/includes/GlobalFunctions.php (modified) (history)

Diff [purge]

Index: branches/new-installer/phase3/includes/GlobalFunctions.php
@@ -1844,7 +1844,7 @@
18451845 }
18461846 } else {
18471847 if ( !$suppressCount ) {
1848 - $originalLevel = error_reporting( E_ALL & ~( E_WARNING | E_NOTICE ) );
 1848+ $originalLevel = error_reporting( E_ALL & ~( E_WARNING | E_NOTICE | E_USER_WARNING | E_USER_NOTICE ) );
18491849 }
18501850 ++$suppressCount;
18511851 }

Status & tagging log