From: umherirrender Date: Sat, 24 Nov 2012 14:15:32 +0000 (+0100) Subject: Follow up: I1b017e13 - Fix Strict Standards X-Git-Tag: 1.31.0-rc.0~21527^2 X-Git-Url: http://git.cyclocoop.org/%22.%28%24lien.?a=commitdiff_plain;h=76338860190d940bc679aee8b0ba80b109961db3;p=lhc%2Fweb%2Fwiklou.git Follow up: I1b017e13 - Fix Strict Standards 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 --- diff --git a/includes/filerepo/file/ForeignDBFile.php b/includes/filerepo/file/ForeignDBFile.php index 91f6cb6259..a03df85e5e 100644 --- a/includes/filerepo/file/ForeignDBFile.php +++ b/includes/filerepo/file/ForeignDBFile.php @@ -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(); }