From: Aaron Schulz Date: Mon, 16 Jan 2012 22:54:22 +0000 (+0000) Subject: Follow-up r108185: removed now unused ALLOW_STALE param X-Git-Tag: 1.31.0-rc.0~25234 X-Git-Url: https://git.cyclocoop.org/%27.WWW_URL.%27admin/?a=commitdiff_plain;h=7f2c6b19547c6183a39cfac371a80e30c93c995b;p=lhc%2Fweb%2Fwiklou.git Follow-up r108185: removed now unused ALLOW_STALE param --- diff --git a/includes/filerepo/FileRepo.php b/includes/filerepo/FileRepo.php index c770811ce6..78109b61c3 100644 --- a/includes/filerepo/FileRepo.php +++ b/includes/filerepo/FileRepo.php @@ -18,7 +18,6 @@ class FileRepo { const OVERWRITE = 2; const OVERWRITE_SAME = 4; const SKIP_LOCKING = 8; - const ALLOW_STALE = 16; /** @var FileBackendBase */ protected $backend; @@ -617,7 +616,6 @@ class FileRepo { * self::OVERWRITE_SAME Overwrite the file if the destination exists and has the * same contents as the source * self::SKIP_LOCKING Skip any file locking when doing the store - * self::ALLOW_STALE Don't require latest data for existence checks * @return FileRepoStatus */ public function store( $srcPath, $dstZone, $dstRel, $flags = 0 ) { @@ -699,9 +697,6 @@ class FileRepo { if ( $flags & self::SKIP_LOCKING ) { $opts['nonLocking'] = true; } - if ( $flags & self::ALLOW_STALE ) { - $opts['allowStale'] = true; - } $status->merge( $backend->doOperations( $operations, $opts ) ); // Cleanup for disk source files... foreach ( $sourceFSFilesToDelete as $file ) {