aboutsummaryrefslogtreecommitdiff
path: root/services
diff options
context:
space:
mode:
authormensonge <mensonge@b3834d28-1941-0410-a4f8-b48e95affb8f>2009-02-16 16:31:44 +0000
committermensonge <mensonge@b3834d28-1941-0410-a4f8-b48e95affb8f>2009-02-16 16:31:44 +0000
commit715ddba1dcc1454000180bd2d30e553b3f036d0a (patch)
tree93553aed95d6d1797c49c7bbf67ef8c8c81785a3 /services
parent5933ad03fa62712409029f729cb06c85a0757c95 (diff)
downloadsemanticscuttle-715ddba1dcc1454000180bd2d30e553b3f036d0a.tar.gz
semanticscuttle-715ddba1dcc1454000180bd2d30e553b3f036d0a.tar.bz2
Interface fix: add config variable about rights of edition for admins [Config file modified: ].
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@283 b3834d28-1941-0410-a4f8-b48e95affb8f
Diffstat (limited to 'services')
-rw-r--r--services/bookmarkservice.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/services/bookmarkservice.php b/services/bookmarkservice.php
index 635d8ed..dcce54b 100644
--- a/services/bookmarkservice.php
+++ b/services/bookmarkservice.php
@@ -107,7 +107,7 @@ class BookmarkService {
$userservice = & ServiceFactory :: getServiceInstance('UserService');
$userid = $userservice->getCurrentUserId();
- if ($userservice->isAdmin($userid))
+ if ($GLOBALS['adminsCanModifyBookmarksFromOtherUsers'] && $userservice->isAdmin($userid))
return true;
else
return ($bookmark['uId'] == $userid);