public function deleteBookmark()
    {
        $this->setBookmark();
        $this->controlAccess('bookmark_delete');

        $this->bookmark->delete(array('path' => $this->data_path));
        $this->redirect($this->data_target);
    }
public function deleteBookmark()
    {
        $this->setBookmark();
        $this->controlAccess('bookmark_delete');

        $this->bookmark->delete(array('path' => $this->data_path));
        $this->redirect($this->data_target);
    }
public function deleteBookmark ( ) { $ this -> setBookmark ( ) ; $ this -> controlAccess ( 'bookmark_delete' ) ; $ this -> bookmark -> delete ( array ( 'path' => $ this -> data_path ) ) ; $ this -> redirect ( $ this -> data_target ) ; }
Page callback to delete a bookmark
Page callback to delete a bookmark