r24547 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r24546‎ | r24547 | r24548 >
Date:00:00, 3 August 2007
Author:rotem
Status:old
Tags:
Comment:
I guess it should actually return the result (anyway, there is a fatal PHP error when the folder was not writable without this fix, rather than a valid error shown to the user like now).
Modified paths:
  • /trunk/phase3/includes/filerepo/FileRepoStatus.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/filerepo/FileRepoStatus.php
@@ -22,6 +22,7 @@
2323 $result = new self( $repo );
2424 call_user_func_array( array( &$result, 'error' ), $params );
2525 $result->ok = false;
 26+ return $result;
2627 }
2728
2829 static function newGood( $repo = false, $value = null ) {

Follow-up revisions

RevisionCommit summaryAuthorDate
r24631Merged revisions 24480-24600 via svnmerge from...david18:39, 6 August 2007

Status & tagging log