/** * Delete the entire album PERMANENTLY. Be careful! This is unrecoverable. * Returns true if successful * * @return bool */ function remove() { if ($rslt = parent::remove()) { @chmod($this->localpath, 0777); $rslt = @unlink($this->localpath); clearstatcache(); } return $rslt; }
/** * Delete the entire album PERMANENTLY. Be careful! This is unrecoverable. * Returns true if successful * * @return bool */ function remove() { if ($rslt = parent::remove()) { @chmod($this->localpath, 0777); $rslt = @unlink($this->localpath); clearstatcache(); $rslt = $rslt && $this->_removeCache(substr($this->localpath, strlen(ALBUM_FOLDER_SERVERPATH))); } return $rslt; }