From 534c1424501a427e2f6bfabbb59c5e3f82f734e3 Mon Sep 17 00:00:00 2001 From: Chad Horohoe Date: Mon, 22 Feb 2010 12:24:50 +0000 Subject: [PATCH] (bug 22617), FileRepo::append() definition does not match child, change it to be like all the children --- includes/filerepo/FileRepo.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.20.1