Esempio n. 1
0
 /**
  * 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;
 }
Esempio n. 2
0
 /**
  * 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;
 }