public function DeleteMedia() { $dataSetId = $this->GetOption('datasetid'); Kit::ClassLoader('dataset'); $dataSet = new DataSet($this->db); $dataSet->UnlinkLayout($dataSetId, $this->layoutid, $this->regionid, $this->mediaid); return parent::DeleteMedia(); }
public function DeleteMedia() { $dataSetId = $this->GetOption('datasetid'); Debug::LogEntry('audit', sprintf('Deleting Media with DataSetId %d', $dataSetId), 'datasetview', 'DeleteMedia'); Kit::ClassLoader('dataset'); $dataSet = new DataSet($this->db); $dataSet->UnlinkLayout($dataSetId, $this->layoutid, $this->regionid, $this->mediaid); return parent::DeleteMedia(); }