filebackend: remove unneeded is_dir() call in FSFileBackend::doCleanInternal()
Change-Id: Ia630e2052edd31f0d9b6ed7068497dc4ae66d917
This commit is contained in:
parent
dd71a77512
commit
e021adabb9
1 changed files with 1 additions and 3 deletions
|
|
@ -556,9 +556,7 @@ class FSFileBackend extends FileBackendStore {
|
|||
$contRoot = $this->containerFSRoot( $shortCont, $fullCont ); // must be valid
|
||||
$dir = ( $dirRel != '' ) ? "{$contRoot}/{$dirRel}" : $contRoot;
|
||||
AtEase::suppressWarnings();
|
||||
if ( is_dir( $dir ) ) {
|
||||
rmdir( $dir ); // remove directory if empty
|
||||
}
|
||||
rmdir( $dir ); // remove directory if empty
|
||||
AtEase::restoreWarnings();
|
||||
|
||||
return $status;
|
||||
|
|
|
|||
Loading…
Reference in a new issue