From 7f2c6b19547c6183a39cfac371a80e30c93c995b Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Mon, 16 Jan 2012 22:54:22 +0000 Subject: [PATCH] Follow-up r108185: removed now unused ALLOW_STALE param --- includes/filerepo/FileRepo.php | 5 ----- 1 file changed, 5 deletions(-) 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 ) { -- 2.20.1