[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Fmsystem-commits] [9324] property: naming cache values
From: |
Sigurd Nes |
Subject: |
[Fmsystem-commits] [9324] property: naming cache values |
Date: |
Wed, 09 May 2012 06:52:57 +0000 |
Revision: 9324
http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=9324
Author: sigurdne
Date: 2012-05-09 06:52:56 +0000 (Wed, 09 May 2012)
Log Message:
-----------
property: naming cache values
Modified Paths:
--------------
trunk/property/inc/class.bocommon.inc.php
Modified: trunk/property/inc/class.bocommon.inc.php
===================================================================
--- trunk/property/inc/class.bocommon.inc.php 2012-05-09 06:38:59 UTC (rev
9323)
+++ trunk/property/inc/class.bocommon.inc.php 2012-05-09 06:52:56 UTC (rev
9324)
@@ -360,8 +360,19 @@
}
}
- if(!$users = $this->socommon->fm_cache('acl_userlist_'.
$rights[0] . '_' . $acl_location))
+ $right_index = 0;
+
+ foreach ($rights as $right)
{
+ $right_index += $right;
+ }
+
+ $acl_userlist_name =
"acl_userlist_{$right_index}_{$acl_location}";
+
+ reset($rights);
+
+ if(!$users =
$this->socommon->fm_cache($acl_userlist_name))
+ {
$users_gross = array();
foreach ($rights as $right)
{
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Fmsystem-commits] [9324] property: naming cache values,
Sigurd Nes <=