summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2009-07-22 15:20:30 -0700
committerTim Almdal <tnalmdal@shaw.ca>2009-07-22 15:20:30 -0700
commit85ed445e2333a884e140afebaeba35d08079cda6 (patch)
treef67bdfd7835f5169271f122c771cf0a6521e9fa1
parentd4104a23ec504e451e7a96f9798ea4ed695e9d97 (diff)
remove an extra ->reload() that was there for testing
-rw-r--r--modules/gallery/helpers/access.php1
1 files changed, 0 insertions, 1 deletions
diff --git a/modules/gallery/helpers/access.php b/modules/gallery/helpers/access.php
index 956b4e5c..65316a8a 100644
--- a/modules/gallery/helpers/access.php
+++ b/modules/gallery/helpers/access.php
@@ -209,7 +209,6 @@ class access_Core {
$access = model_cache::get("access_intent", $album->id, "item_id");
$access->__set("{$perm_name}_{$group->id}", $value);
$access->save();
- $album->reload();
if ($perm_name == "view") {
self::_update_access_view_cache($group, $album);