Skip to content

Commit

Permalink
Fix classname (for now; according to a @todo this is the eventually i…
Browse files Browse the repository at this point in the history
…ntended classname) so that deleting bookmarks works.
  • Loading branch information
Chuck Hagenbuch authored and yunosh committed Feb 15, 2016
1 parent 5d8ed97 commit 6253208
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Bookmarks.php
Expand Up @@ -207,7 +207,7 @@ public function removeBookmark(Trean_Bookmark $bookmark)
/* Untag */
$tagger = $GLOBALS['injector']->getInstance('Trean_Tagger');
$tagger->replaceTags((string)$bookmark->id, array(), $GLOBALS['registry']->getAuth(), 'bookmark');
$GLOBALS['injector']->getInstance('Content_Objects_Mapper')
$GLOBALS['injector']->getInstance('Content_ObjectMapper')
->delete($bookmark->id, 'bookmark');

/* @TODO delete from content index? */
Expand Down

0 comments on commit 6253208

Please sign in to comment.