Index: trunk/phase3/includes/filerepo/FileRepo.php |
— | — | @@ -18,7 +18,6 @@ |
19 | 19 | const OVERWRITE = 2; |
20 | 20 | const OVERWRITE_SAME = 4; |
21 | 21 | const SKIP_LOCKING = 8; |
22 | | - const ALLOW_STALE = 16; |
23 | 22 | |
24 | 23 | /** @var FileBackendBase */ |
25 | 24 | protected $backend; |
— | — | @@ -617,7 +616,6 @@ |
618 | 617 | * self::OVERWRITE_SAME Overwrite the file if the destination exists and has the |
619 | 618 | * same contents as the source |
620 | 619 | * self::SKIP_LOCKING Skip any file locking when doing the store |
621 | | - * self::ALLOW_STALE Don't require latest data for existence checks |
622 | 620 | * @return FileRepoStatus |
623 | 621 | */ |
624 | 622 | public function store( $srcPath, $dstZone, $dstRel, $flags = 0 ) { |
— | — | @@ -699,9 +697,6 @@ |
700 | 698 | if ( $flags & self::SKIP_LOCKING ) { |
701 | 699 | $opts['nonLocking'] = true; |
702 | 700 | } |
703 | | - if ( $flags & self::ALLOW_STALE ) { |
704 | | - $opts['allowStale'] = true; |
705 | | - } |
706 | 701 | $status->merge( $backend->doOperations( $operations, $opts ) ); |
707 | 702 | // Cleanup for disk source files... |
708 | 703 | foreach ( $sourceFSFilesToDelete as $file ) { |