aboutsummaryrefslogtreecommitdiff
path: root/src/SemanticScuttle/Service/Bookmark.php
diff options
context:
space:
mode:
authorcweiske <cweiske@b3834d28-1941-0410-a4f8-b48e95affb8f>2009-11-20 17:38:15 +0000
committercweiske <cweiske@b3834d28-1941-0410-a4f8-b48e95affb8f>2009-11-20 17:38:15 +0000
commit1256489fa7a3afa0663c9892adcdb6096499c3dc (patch)
treeaace3573c3526a4f39a8fec2c7914bd58c0bfaa0 /src/SemanticScuttle/Service/Bookmark.php
parent258fc8edc5921a2511f871603f84405881c9d706 (diff)
downloadsemanticscuttle-1256489fa7a3afa0663c9892adcdb6096499c3dc.tar.gz
semanticscuttle-1256489fa7a3afa0663c9892adcdb6096499c3dc.tar.bz2
test deleteBookmarksForUser
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@565 b3834d28-1941-0410-a4f8-b48e95affb8f
Diffstat (limited to 'src/SemanticScuttle/Service/Bookmark.php')
-rw-r--r--src/SemanticScuttle/Service/Bookmark.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/SemanticScuttle/Service/Bookmark.php b/src/SemanticScuttle/Service/Bookmark.php
index 1975b22..f671fba 100644
--- a/src/SemanticScuttle/Service/Bookmark.php
+++ b/src/SemanticScuttle/Service/Bookmark.php
@@ -778,6 +778,13 @@ class SemanticScuttle_Service_Bookmark extends SemanticScuttle_DbService
+ /**
+ * Deletes all bookmarks of the given user
+ *
+ * @param integer $uId User ID
+ *
+ * @return boolean true when all went well
+ */
public function deleteBookmarksForUser($uId)
{
$query = 'DELETE FROM '. $GLOBALS['tableprefix'] .'bookmarks WHERE uId = '. intval($uId);