From: Chad Horohoe Date: Mon, 22 Feb 2010 12:24:50 +0000 (+0000) Subject: (bug 22617), FileRepo::append() definition does not match child, change it to be... X-Git-Tag: 1.31.0-rc.0~37647 X-Git-Url: http://git.cyclocoop.org/%22%20.%20generer_url_ecrire%28%22auteur_infos%22%2C%20%22id_auteur=%24id%22%29%20.%20%22?a=commitdiff_plain;h=534c1424501a427e2f6bfabbb59c5e3f82f734e3;p=lhc%2Fweb%2Fwiklou.git (bug 22617), FileRepo::append() definition does not match child, change it to be like all the children --- diff --git a/includes/filerepo/FileRepo.php b/includes/filerepo/FileRepo.php index 3cfbbf9e03..72e1e381a8 100644 --- a/includes/filerepo/FileRepo.php +++ b/includes/filerepo/FileRepo.php @@ -406,7 +406,7 @@ abstract class FileRepo { * that the source file should be deleted if possible * @return mixed Status or false */ - abstract function append( $srcPath, $toAppendPath, $flags ); + abstract function append( $srcPath, $toAppendPath, $flags = 0 ); /** * Remove a temporary file or mark it for garbage collection