/** @var string Required OS username to own files */
protected $fileOwner;
- /** @var bool Whether the OS is Windows (otherwise assumed Unix-like)*/
+ /** @var bool Whether the OS is Windows (otherwise assumed Unix-like) */
protected $isWindows;
/** @var string OS username running this script */
protected $currentUser;
$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;