summaryrefslogtreecommitdiff
path: root/src/SemanticScuttle/Service
diff options
context:
space:
mode:
authorcweiske <cweiske@b3834d28-1941-0410-a4f8-b48e95affb8f>2009-10-28 22:26:37 +0000
committercweiske <cweiske@b3834d28-1941-0410-a4f8-b48e95affb8f>2009-10-28 22:26:37 +0000
commitc95e4dce5b65932a9ffa3fb7d3b23ca5fb58ef59 (patch)
treee6eab907b315c7058f742404658b9fbf32144141 /src/SemanticScuttle/Service
parent2444e1257f17c2f2559f7a1504a5b104b6176057 (diff)
downloadsemanticscuttle-c95e4dce5b65932a9ffa3fb7d3b23ca5fb58ef59.tar.gz
semanticscuttle-c95e4dce5b65932a9ffa3fb7d3b23ca5fb58ef59.tar.bz2
explain deleteAll() in bookmarks
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@458 b3834d28-1941-0410-a4f8-b48e95affb8f
Diffstat (limited to 'src/SemanticScuttle/Service')
-rw-r--r--src/SemanticScuttle/Service/Bookmark.php8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/SemanticScuttle/Service/Bookmark.php b/src/SemanticScuttle/Service/Bookmark.php
index 54a1df6..e569ade 100644
--- a/src/SemanticScuttle/Service/Bookmark.php
+++ b/src/SemanticScuttle/Service/Bookmark.php
@@ -811,7 +811,13 @@ class SemanticScuttle_Service_Bookmark extends SemanticScuttle_DbService
- function deleteAll()
+ /**
+ * Delete all bookmarks.
+ * Mainly used in unit tests.
+ *
+ * @return void
+ */
+ public function deleteAll()
{
$query = 'TRUNCATE TABLE `'. $this->getTableName() .'`';
$this->db->sql_query($query);