From 7a8818fbc6989015c0abc86c66975fafa91fa3c8 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Sat, 18 Jan 2014 12:46:48 +0100 Subject: [PATCH] [ticket/11201] Add visibility and remove unused variable PHPBB3-11201 --- phpBB/phpbb/profilefields/profilefields.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/phpBB/phpbb/profilefields/profilefields.php b/phpBB/phpbb/profilefields/profilefields.php index acb1e6afcb..b95940aefb 100644 --- a/phpBB/phpbb/profilefields/profilefields.php +++ b/phpBB/phpbb/profilefields/profilefields.php @@ -15,8 +15,7 @@ namespace phpbb\profilefields; */ class profilefields { - var $profile_types = array(FIELD_INT => 'int', FIELD_STRING => 'string', FIELD_TEXT => 'text', FIELD_BOOL => 'bool', FIELD_DROPDOWN => 'dropdown', FIELD_DATE => 'date'); - var $profile_cache = array(); + protected $profile_cache = array(); /** *