diff options
Diffstat (limited to 'admin.php')
-rw-r--r-- | admin.php | 10 |
1 files changed, 8 insertions, 2 deletions
@@ -23,7 +23,10 @@ require_once('header.inc.php'); $bookmark2tagservice = & ServiceFactory :: getServiceInstance('Bookmark2Tagservice');
$bookmarkservice = & ServiceFactory :: getServiceInstance('BookmarkService'); $tag2tagservice = & ServiceFactory :: getServiceInstance('Tag2TagService'); -$tagcacheservice = & ServiceFactory :: getServiceInstance('TagCacheService');
+$tagcacheservice = & ServiceFactory :: getServiceInstance('TagCacheService'); +$commondescriptionservice = & ServiceFactory :: getServiceInstance('CommonDescriptionService'); +$searchhistoryservice = & ServiceFactory :: getServiceInstance('SearchHistoryService'); +$tagstatservice = & ServiceFactory :: getServiceInstance('TagStatService');
// Header variables
$tplVars['subtitle'] = T_('Manage users');
@@ -56,7 +59,10 @@ if ( $action $tagcacheservice->deleteByUser($uId); $tag2tagservice->removeLinkedTags('','','',$uId);
$userservice->deleteUser($uId);
- $bookmark2tagservice->deleteTagsForUser($uId);
+ $bookmark2tagservice->deleteTagsForUser($uId); + $commondescriptionservice->deleteDescriptionsForUser($uId); + $searchhistoryservice->deleteSearchHistoryForUser($uId); + $tagstatservice->deleteTagStatForUser($uId);
// XXX: don't delete bookmarks before tags, else tags can't be deleted !!!
$bookmarkservice->deleteBookmarksForUser($uId);
|