From: Russ Nelson Date: Mon, 23 May 2011 02:30:20 +0000 (+0000) Subject: Fill-in missing implementations of abstract function appendFinish() X-Git-Tag: 1.31.0-rc.0~29997 X-Git-Url: http://git.cyclocoop.org/%7B%24admin_url%7Dmembres/cotisations/gestion/rappel_supprimer.php?a=commitdiff_plain;h=264d6e3cc37d8d96141beb72830e6e2086253856;p=lhc%2Fweb%2Fwiklou.git Fill-in missing implementations of abstract function appendFinish() --- diff --git a/includes/filerepo/FSRepo.php b/includes/filerepo/FSRepo.php index d3741171b1..a41c04efec 100644 --- a/includes/filerepo/FSRepo.php +++ b/includes/filerepo/FSRepo.php @@ -328,6 +328,9 @@ class FSRepo extends FileRepo { return $status; } + /* We can actually append to the files, so no-op needed here. */ + function appendFinish( $toAppendPath ) {} + /** * Checks existence of specified array of files. * diff --git a/includes/filerepo/ForeignAPIRepo.php b/includes/filerepo/ForeignAPIRepo.php index cf7321803c..44449b30cf 100644 --- a/includes/filerepo/ForeignAPIRepo.php +++ b/includes/filerepo/ForeignAPIRepo.php @@ -95,6 +95,9 @@ class ForeignAPIRepo extends FileRepo { function append( $srcPath, $toAppendPath, $flags = 0 ){ return false; } + function appendFinish( $toAppendPath ){ + return false; + } function publishBatch( $triplets, $flags = 0 ) { return false; } diff --git a/includes/filerepo/NullRepo.php b/includes/filerepo/NullRepo.php index d5a1ee03db..cac3e5d8e5 100644 --- a/includes/filerepo/NullRepo.php +++ b/includes/filerepo/NullRepo.php @@ -23,6 +23,9 @@ class NullRepo extends FileRepo { function append( $srcPath, $toAppendPath, $flags = 0 ){ return false; } + function appendFinish( $toAppendPath ){ + return false; + } function publishBatch( $triplets, $flags = 0 ) { return false; }