aboutsummaryrefslogtreecommitdiff
path: root/engine/lib
diff options
context:
space:
mode:
authorben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-05-23 17:21:10 +0000
committerben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-05-23 17:21:10 +0000
commit913466084496c5b3a561f632fb6eb8697ed49dbb (patch)
tree9f1870c41d235f057ff4a0570dabc238ee2eed74 /engine/lib
parentf13ffaf15ac87e1a465167c02edf374e3683e828 (diff)
downloadelgg-913466084496c5b3a561f632fb6eb8697ed49dbb.tar.gz
elgg-913466084496c5b3a561f632fb6eb8697ed49dbb.tar.bz2
Added a plugin hook and translations for previous.
git-svn-id: https://code.elgg.org/elgg/trunk@707 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib')
-rw-r--r--engine/lib/access.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/engine/lib/access.php b/engine/lib/access.php
index 46e8b2e77..e39a9f165 100644
--- a/engine/lib/access.php
+++ b/engine/lib/access.php
@@ -119,6 +119,8 @@
$tmp_access_array[$group->id] = elgg_echo($group->name);
}
+ $tmp_access_array = trigger_plugin_hook('access','user',array('user_id' => $user_id, 'site_id' => $site_id),$tmp_access_array);
+
$access_array[$user_id] = $tmp_access_array;
}