(bug 22617), FileRepo::append() definition does not match child, change it to be...
authorChad Horohoe <demon@users.mediawiki.org>
Mon, 22 Feb 2010 12:24:50 +0000 (12:24 +0000)
committerChad Horohoe <demon@users.mediawiki.org>
Mon, 22 Feb 2010 12:24:50 +0000 (12:24 +0000)
includes/filerepo/FileRepo.php

index 3cfbbf9..72e1e38 100644 (file)
@@ -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