// 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:
mMarinetti
2011-12-22 18:21:31 +00:00
parent 597df874a0
commit a5c9e152bc
+2 -1
View File
@@ -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]))