/** * @param $path * @param array $options * @param $error * @param $success */ public function deleteFile($path, $options = array(), &$error, &$success) { if ($path == "/") { $error[] = XAPP_TEXT_FORMATTED("DIRECTORY_NOT_WRITEABLE", array($path)); } else { XApp_File_Utils::deleteFile($this->toRealPath($path), $options, $error, $success); } }