Change-Id: Ia630e2052edd31f0d9b6ed7068497dc4ae66d917
$contRoot = $this->containerFSRoot( $shortCont, $fullCont ); // must be valid
$dir = ( $dirRel != '' ) ? "{$contRoot}/{$dirRel}" : $contRoot;
AtEase::suppressWarnings();
$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;
AtEase::restoreWarnings();
return $status;