r36776 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r36775‎ | r36776 | r36777 >
Date:03:42, 29 June 2008
Author:demon
Status:old
Tags:
Comment:
(bug 14670) Return false if AutoLoader can't find a class.
Modified paths:
  • /trunk/phase3/includes/AutoLoader.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/AutoLoader.php
@@ -484,7 +484,7 @@
485485 if ( !$filename ) {
486486 # Give up
487487 wfProfileOut( __METHOD__ );
488 - return;
 488+ return false;
489489 }
490490 }
491491

Follow-up revisions

RevisionCommit summaryAuthorDate
r36941Revert r36776 -- this function doesn't return a value on success, why on fail...brion19:30, 2 July 2008

Status & tagging log