Removed pointless cache bypass in Swift backend
* This was added by mistake in 2af7ad8 apparently
Change-Id: Ic4004428095953ce07e1e97da43748eba04f6639
This commit is contained in:
parent
89f4c93086
commit
96ae9c07e3
1 changed files with 2 additions and 2 deletions
|
|
@ -744,7 +744,7 @@ class SwiftFileBackend extends FileBackendStore {
|
|||
$prefix = ( $dir == '' ) ? null : "{$dir}/";
|
||||
$status = $this->objectListing( $fullCont, 'names', 1, null, $prefix );
|
||||
if ( $status->isOk() ) {
|
||||
return ( count( $status->value ) );
|
||||
return ( count( $status->value ) ) > 0;
|
||||
}
|
||||
|
||||
return null; // error
|
||||
|
|
@ -1470,7 +1470,7 @@ class SwiftFileBackend extends FileBackendStore {
|
|||
}
|
||||
|
||||
// (a) Check the container
|
||||
$cstat = $this->getContainerStat( $srcCont, true );
|
||||
$cstat = $this->getContainerStat( $srcCont );
|
||||
if ( $cstat === false ) {
|
||||
$stats[$path] = false;
|
||||
continue; // ok, nothing to do
|
||||
|
|
|
|||
Loading…
Reference in a new issue