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 committed Dec 3, 2015
1 parent 94273fb commit f156d6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion trean/lib/Bookmarks.php
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,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 f156d6b

Please sign in to comment.