From: Bryan Tong Minh Date: Wed, 27 Aug 2008 19:10:57 +0000 (+0000) Subject: Fixup the function declarations that we're overridden from UploadFromBase. X-Git-Tag: 1.31.0-rc.0~45615 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/exercices/?a=commitdiff_plain;h=9f56d6274157c490cbf76a150340fd0d3efd9d29;p=lhc%2Fweb%2Fwiklou.git Fixup the function declarations that we're overridden from UploadFromBase. --- diff --git a/includes/UploadFromStash.php b/includes/UploadFromStash.php index 862616549b..34f1fbfe9c 100644 --- a/includes/UploadFromStash.php +++ b/includes/UploadFromStash.php @@ -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(); } }