summaryrefslogtreecommitdiff
path: root/modules/gallery/helpers/access.php
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2009-07-27 11:14:03 -0700
committerTim Almdal <tnalmdal@shaw.ca>2009-07-27 11:14:03 -0700
commit4edf86f0ebfedbbdfda3daf71ed55a461edf9c6c (patch)
treeba4044bd3b9940794f145632da2cdfacd5a242f1 /modules/gallery/helpers/access.php
parent5fd82a2edea41209a6936f89c56bbd53083ed182 (diff)
Revert "Fix for ticket #452"
This reverts commit 809e52d80cbf3beb75b238fddb0da3951fb9a8e7.
Diffstat (limited to 'modules/gallery/helpers/access.php')
-rw-r--r--modules/gallery/helpers/access.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gallery/helpers/access.php b/modules/gallery/helpers/access.php
index 8c6f5d54..949aea84 100644
--- a/modules/gallery/helpers/access.php
+++ b/modules/gallery/helpers/access.php
@@ -95,7 +95,7 @@ class access_Core {
return false;
}
- if ($user->admin && $item->owner_id == $user->id) {
+ if ($user->admin) {
return true;
}