} // END - if
// Filter for generic handling of theme change
-function FILTER_HANDLE_THEME_CHANGE ($data) {
+function FILTER_HANDLE_THEME_CHANGE ($filterData) {
// Check if new theme is selcted
//* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'Called!');
if ((isPostRequestParameterSet('new_theme')) && (postRequestParameter('new_theme') != getCurrentTheme())) {
// Return data
//* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'Done!');
- return $data;
+ return $filterData;
}
// Filter for settings theme from user profile, must be executed only if FILTER_FETCH_USER_DATA() ran before
-function FILTER_SET_USERS_THEME ($data) {
+function FILTER_SET_USERS_THEME ($filterData) {
// Is the user data valid?
+ //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'Called!');
if (!isMember()) {
// Do only run for logged in members
debug_report_bug(__FUNCTION__, __LINE__, 'Please only run this filter for logged in users.');
// Return data
//* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'Done!');
- return $data;
+ return $filterData;
}
// [EOF]