Fixup the function declarations that we're overridden from UploadFromBase.
authorBryan Tong Minh <btongminh@users.mediawiki.org>
Wed, 27 Aug 2008 19:10:57 +0000 (19:10 +0000)
committerBryan Tong Minh <btongminh@users.mediawiki.org>
Wed, 27 Aug 2008 19:10:57 +0000 (19:10 +0000)
includes/UploadFromStash.php

index 8626165..34f1fbf 100644 (file)
@@ -20,13 +20,13 @@ class UploadFromStash extends UploadFromBase {
        /*
         * File has been previously verified so no need to do so again.
         */
-       protected function verifyFile( $tmpfile, $extension ) {
+       protected function verifyFile( $tmpfile ) {
                return true;
        }
        /*
         * We're here from "ignore warnings anyway" so return just OK
         */
-       function checkWarnings( &$resultDetails ) {
-               return self::OK;
+       function checkWarnings() {
+               return array();
        }
 }