explain deleteAll() in bookmarks
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@458 b3834d28-1941-0410-a4f8-b48e95affb8f
This commit is contained in:
parent
2444e1257f
commit
c95e4dce5b
1 changed files with 7 additions and 1 deletions
|
@ -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() .'`';
|
$query = 'TRUNCATE TABLE `'. $this->getTableName() .'`';
|
||||||
$this->db->sql_query($query);
|
$this->db->sql_query($query);
|
||||||
|
|
Loading…
Reference in a new issue