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/%7D%7Cconcat%7B?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