public static function deleteAlbum($id)
 {
     $PhotoAlbumModel = new FM_Models_FM_PhotoAlbum();
     $model = new FM_Models_FM_PhotoGallery();
     $model->remove(array('photoAlbum' => $id));
     return $PhotoAlbumModel->remove(array('id' => $id));
 }
 public static function removeMedia($id)
 {
     $model = new FM_Models_FM_PhotoGallery();
     return $model->remove(array('id' => $id));
 }