public function delete($id)
    {
        # Delete the picture and all its versions
        $this->Picture->delete($id);

        $this->render(false, false);
    }
public function delete($id)
    {
        # Delete the picture and all its versions
        $this->Picture->delete($id);

        $this->render(false, false);
    }
public function delete ( $ id ) { # Delete the picture and all its versions $ this -> Picture -> delete ( $ id ) ; $ this -> render ( false , false ) ; }
Delete an image and all its versions from database
@param $id
Delete an image and all its versions from database