function submit() { $videos = new Model_videos(); $logs = new Model_logs(); $this->clean_files(); $videos->delete($this->video["id"]); $logs->d("front", "live/video/delete: " . $this->video["filename"]); $this->is_success = true; return $this->is_success; }