diff options
author | 2009-02-20 09:33:59 +0000 | |
---|---|---|
committer | 2009-02-20 09:33:59 +0000 | |
commit | 0c81abaa3e6319fb729f6924c8d8ffb7393a5072 (patch) | |
tree | effd427ddc891d198976f2770cfc82bf0f744d8b /services/bookmark2tagservice.php | |
parent | 6bd34af2885e1e2e93218371923c0d0fdc1e2c53 (diff) | |
download | scuttle-0c81abaa3e6319fb729f6924c8d8ffb7393a5072.tar.gz scuttle-0c81abaa3e6319fb729f6924c8d8ffb7393a5072.zip |
Interface fix: menu2 just displays linked tags from admins
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@292 b3834d28-1941-0410-a4f8-b48e95affb8f
Diffstat (limited to 'services/bookmark2tagservice.php')
-rw-r--r-- | services/bookmark2tagservice.php | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/services/bookmark2tagservice.php b/services/bookmark2tagservice.php index 99c97af..918fb5b 100644 --- a/services/bookmark2tagservice.php +++ b/services/bookmark2tagservice.php @@ -330,13 +330,10 @@ class Bookmark2TagService { function &getAdminTags($limit = 30, $logged_on_user = NULL, $days = NULL) { // look for admin ids $userservice = & ServiceFactory :: getServiceInstance('UserService'); - $admins = array(); - foreach($GLOBALS['admin_users'] as $adminName) { - $admins[] = $userservice->getIdFromUser($adminName); - } + $adminIds = $userservice->getAdminIds(); // ask for their tags - return $this->getPopularTags($admins, $limit, $logged_on_user, $days); + return $this->getPopularTags($adminIds, $limit, $logged_on_user, $days); } function &getContactTags($user, $limit = 30, $logged_on_user = NULL, $days = NULL) { |