Index: branches/5.2.x/core/units/user_profile/user_profile_config.php =================================================================== diff -u -N -r15012 -r16388 --- branches/5.2.x/core/units/user_profile/user_profile_config.php (.../user_profile_config.php) (revision 15012) +++ branches/5.2.x/core/units/user_profile/user_profile_config.php (.../user_profile_config.php) (revision 16388) @@ -1,6 +1,6 @@ 'user-profile', - 'ItemClass' => Array('class' => 'kDBItem', 'file' => '', 'build_event' => 'OnItemBuild'), - 'ListClass' => Array('class' => 'kDBList', 'file' => '', 'build_event' => 'OnListBuild'), - 'EventHandlerClass' => Array('class' => 'UserProfileEventHandler', 'file' => 'user_profile_eh.php', 'build_event' => 'OnBuild'), - 'TagProcessorClass' => Array('class' => 'UserProfileTagProcessor', 'file' => 'user_profile_tp.php', 'build_event' => 'OnBuild'), +$config = Array ( + 'Prefix' => 'user-profile', + 'ItemClass' => Array ('class' => 'kDBItem', 'file' => '', 'build_event' => 'OnItemBuild'), + 'ListClass' => Array ('class' => 'kDBList', 'file' => '', 'build_event' => 'OnListBuild'), + 'EventHandlerClass' => Array ('class' => 'UserProfileEventHandler', 'file' => 'user_profile_eh.php', 'build_event' => 'OnBuild'), + 'TagProcessorClass' => Array ('class' => 'UserProfileTagProcessor', 'file' => 'user_profile_tp.php', 'build_event' => 'OnBuild'), - 'QueryString' => Array ( - 1 => 'id', - 2 => 'Page', - 3 => 'PerPage', - 4 => 'event', - ), + 'QueryString' => Array ( + 1 => 'id', + 2 => 'Page', + 3 => 'PerPage', + 4 => 'event', + ), - 'IDField' => 'VariableId', - 'TableName' => TABLE_PREFIX.'UserPersistentSessionData', + 'IDField' => 'VariableId', + 'TableName' => TABLE_PREFIX.'UserPersistentSessionData', - 'ForeignKey' => 'PortalUserId', - 'ParentTableKey' => 'PortalUserId', - 'ParentPrefix' => 'u', - 'AutoDelete' => true, - 'AutoClone' => true, + 'ForeignKey' => 'PortalUserId', + 'ParentTableKey' => 'PortalUserId', + 'ParentPrefix' => 'u', + 'AutoDelete' => true, + 'AutoClone' => true, - 'ListSQLs' => Array('' => 'SELECT %1$s.* %2$s FROM %1$s',), - 'ItemSQLs' => Array('' => 'SELECT %1$s.* %2$s FROM %1$s',), + 'ListSQLs' => Array ( + '' => ' SELECT %1$s.* %2$s + FROM %1$s', + ), - 'Fields' => Array ( - 'VariableId' => Array ('type' => 'int', 'not_null' => 1, 'default' => 0), - 'PortalUserId' => Array ('type' => 'int', 'not_null' => 1, 'default' => 0), - 'VariableName' => Array ('type' => 'string', 'max_len' => 255, 'not_null' => 1, 'default' => ''), - 'VariableValue' => Array ('type' => 'string', 'default' => NULL), - ), - ); \ No newline at end of file + 'Fields' => Array ( + 'VariableId' => Array ('type' => 'int', 'not_null' => 1, 'default' => 0), + 'PortalUserId' => Array ('type' => 'int', 'not_null' => 1, 'default' => 0), + 'VariableName' => Array ('type' => 'string', 'max_len' => 255, 'not_null' => 1, 'default' => ''), + 'VariableValue' => Array ('type' => 'string', 'default' => NULL), + ), +); \ No newline at end of file