public function delete($data) { plgSystemGdata::deletePhotoEntry($this->getState('album'), $data); return true; }