• Модуль: workflow
  • Путь к файлу: ~/bitrix/modules/workflow/classes/general/workflow.php
  • Класс: CAllWorkflow
  • Вызов: CAllWorkflow::DeleteFile
static function DeleteFile($FILENAME)
{
	$err_mess = (CAllWorkflow::err_mess())."
Function: DeleteFile
Line: "; global $DB; $strSql = "DELETE FROM b_workflow_file WHERE TEMP_FILENAME='".$DB->ForSql($FILENAME,255)."'"; $DB->Query($strSql, false, $err_mess.__LINE__); $temp_path = CWorkflow::GetTempDir().$FILENAME; if (file_exists($temp_path)) unlink($temp_path); }