public function deletePhoto($photo) { // delete original here and rest in s3 $myPhoto = array('pathOriginal' => $photo['pathOriginal']); $parentPhoto = $myPhoto; unset($parentPhoto['pathOriginal']); return $this->archiveOrg->deletePhoto($myPhoto) && parent::deletePhoto($parentPhoto); }
public function deletePhoto($photo) { return $this->box->deletePhoto($photo) && parent::deletePhoto($photo); }