docblock for deleteAll
This commit is contained in:
parent
e1370d949c
commit
d761abb05e
1 changed files with 9 additions and 1 deletions
|
@ -674,7 +674,15 @@ class SemanticScuttle_Service_Bookmark2Tag extends SemanticScuttle_DbService
|
||||||
return $output;
|
return $output;
|
||||||
}
|
}
|
||||||
|
|
||||||
function deleteAll() {
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Deletes all tags in bookmarks2tags
|
||||||
|
*
|
||||||
|
* @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