Ejemplo n.º 1
0
 /**
  * Deletes given gallery
  *
  * @param Tx_Yag_Domain_Model_Gallery $gallery
  * @rbacNeedsAccess
  * @rbacObject Gallery
  * @rbacAction delete
  */
 public function deleteGalleryAction(Tx_Yag_Domain_Model_Gallery $gallery)
 {
     $gallery->delete();
     $this->galleryRepository->syncTranslatedGalleries();
     $this->returnDataAndShutDown();
 }