// moved a property declaration at the top of the class
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@11659 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
+2
-1
@@ -43,6 +43,8 @@ class ProfileCore extends ObjectModel
|
||||
),
|
||||
);
|
||||
|
||||
private static $_cache_accesses = array();
|
||||
|
||||
/**
|
||||
* Get all available profiles
|
||||
*
|
||||
@@ -102,7 +104,6 @@ class ProfileCore extends ObjectModel
|
||||
return (isset($accesses[$id_tab]) ? $accesses[$id_tab] : false);
|
||||
}
|
||||
|
||||
private static $_cache_accesses = array();
|
||||
public static function getProfileAccesses($id_profile)
|
||||
{
|
||||
if (!isset(self::$_cache_accesses[$id_profile]))
|
||||
|
||||
Reference in New Issue
Block a user