Beispiel #1
0
 /**
  * Delete a file (remove it from the disk)
  *
  * @param   string  $fileName  The full path to the file
  *
  * @return  boolean  True on success
  */
 public function delete($fileName)
 {
     $ret = $this->fileAdapter->delete($fileName);
     if (!$ret && is_object($this->abstractionAdapter)) {
         return $this->abstractionAdapter->delete($fileName);
     }
     return $ret;
 }