Пример #1
0
 function delete()
 {
     $sql_delete_tasks = "DELETE FROM tasks WHERE project_id = " . $this->id;
     $this->execute($sql_delete_tasks);
     $this->delete_project_files();
     $this->delete_file_folder();
     $result = parent::delete();
     ActivityManager::project_deleted($this);
     return $result;
 }