I guess it should actually return the result (anyway, there is a fatal PHP error...
authorRotem Liss <rotem@users.mediawiki.org>
Fri, 3 Aug 2007 00:00:15 +0000 (00:00 +0000)
committerRotem Liss <rotem@users.mediawiki.org>
Fri, 3 Aug 2007 00:00:15 +0000 (00:00 +0000)
includes/filerepo/FileRepoStatus.php

index 9e8e079..972b2e4 100644 (file)
@@ -22,6 +22,7 @@ class FileRepoStatus {
                $result = new self( $repo );
                call_user_func_array( array( &$result, 'error' ), $params );
                $result->ok = false;
+               return $result;
        }
 
        static function newGood( $repo = false, $value = null ) {