From a5c9e152bced84a15246344500028e58dca92aa4 Mon Sep 17 00:00:00 2001 From: mMarinetti Date: Thu, 22 Dec 2011 18:21:31 +0000 Subject: [PATCH] // 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 --- classes/Profile.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/classes/Profile.php b/classes/Profile.php index d4fac13be..99265c511 100644 --- a/classes/Profile.php +++ b/classes/Profile.php @@ -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]))