Follow up: I1b017e13 - Fix Strict Standards
authorumherirrender <umherirrender_de.wp@web.de>
Sat, 24 Nov 2012 14:15:32 +0000 (15:15 +0100)
committerumherirrender <umherirrender_de.wp@web.de>
Sat, 24 Nov 2012 14:15:32 +0000 (15:15 +0100)
Strict Standards: Declaration of ForeignDBFile::publish() should be
compatible with that of LocalFile::publish() in
\includes\filerepo\file\ForeignDBFile.php on line 122

Change-Id: If3de7ec3a6794752bfe6ef7644b66497c1ad9c8b

includes/filerepo/file/ForeignDBFile.php

index 91f6cb6..a03df85 100644 (file)
@@ -57,9 +57,10 @@ class ForeignDBFile extends LocalFile {
        /**
         * @param $srcPath String
         * @param $flags int
+        * @param $options Array
         * @throws MWException
         */
-       function publish( $srcPath, $flags = 0 ) {
+       function publish( $srcPath, $flags = 0, array $options = array() ) {
                $this->readOnlyError();
        }