summaryrefslogtreecommitdiff
path: root/core/helpers/access.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/helpers/access.php')
-rw-r--r--core/helpers/access.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/helpers/access.php b/core/helpers/access.php
index 4c623f7c..369e1897 100644
--- a/core/helpers/access.php
+++ b/core/helpers/access.php
@@ -71,14 +71,14 @@ class access_Core {
const UNKNOWN = 2;
/**
- * Can this group have this permission on this item?
+ * Does this group have this permission on this item?
*
* @param integer $group_id
* @param string $perm_name
* @param integer $item_id
* @return boolean
*/
- public static function can($group_id, $perm_name, $item_id) {
+ public static function group_can($group_id, $perm_name, $item_id) {
$access = ORM::factory("access_cache")->where("item_id", $item_id)->find();
if (!$access) {
throw new Exception("@todo MISSING_ACCESS for $item_id");