diff --git a/src/SemanticScuttle/Service/User.php b/src/SemanticScuttle/Service/User.php index 281c18c..6fc3bb7 100644 --- a/src/SemanticScuttle/Service/User.php +++ b/src/SemanticScuttle/Service/User.php @@ -668,7 +668,7 @@ class SemanticScuttle_Service_User extends SemanticScuttle_DbService } /** - * Delete all bookmarks. + * Delete all users and their watch states. * Mainly used in unit tests. * * @return void @@ -677,6 +677,9 @@ class SemanticScuttle_Service_User extends SemanticScuttle_DbService { $query = 'TRUNCATE TABLE `'. $this->getTableName() .'`'; $this->db->sql_query($query); + + $query = 'TRUNCATE TABLE `' . $GLOBALS['tableprefix'] . 'watched' . '`'; + $this->db->sql_query($query); } /**