From a3142246e4c2f587e524571cf319bec68b339bb3 Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Fri, 12 Dec 2008 06:54:48 +0000 Subject: Move the view permission cache directly into the item table for efficiency. Unit tests ftw! --- modules/user/helpers/group.php | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'modules') diff --git a/modules/user/helpers/group.php b/modules/user/helpers/group.php index a47ade37..98947794 100644 --- a/modules/user/helpers/group.php +++ b/modules/user/helpers/group.php @@ -46,6 +46,8 @@ class group_Core { /** * The group of all possible visitors. This includes the guest user. * + * @todo consider caching + * * @return Group_Model */ static function everybody() { @@ -55,6 +57,8 @@ class group_Core { /** * The group of all logged-in visitors. This does not include guest users. * + * @todo consider caching + * * @return Group_Model */ static function registered_users() { -- cgit v1.2.3