- registerFilter('init', 'LOAD_CONFIGURATION');
- registerFilter('init', 'INIT_RANDOMIZER');
- registerFilter('init', 'LOAD_RUNTIME_INCLUDES');
- registerFilter('init', 'INIT_EXTENSIONS');
- registerFilter('init', 'SET_CURRENT_DATE');
- registerFilter('init', 'INIT_RANDOM_NUMBER');
- registerFilter('init', 'CHECK_REPOSITORY_REVISION');
- registerFilter('init', 'RUN_DAILY_RESET');
- registerFilter('init', 'TRIGGER_SENDING_POOL');
- registerFilter('init', 'DETERMINE_USERNAME');
- registerFilter('init', 'DETERMINE_WHAT_ACTION');
- registerFilter('init', 'COUNT_MODULE');
- registerFilter('init', 'UPDATE_LOGIN_DATA');
- registerFilter('init', 'ACTIVATE_EXCHANGE');
+ registerFilter(__FUNCTION__, __LINE__, 'init', 'LOAD_CONFIGURATION');
+ registerFilter(__FUNCTION__, __LINE__, 'init', 'INIT_RANDOMIZER');
+ registerFilter(__FUNCTION__, __LINE__, 'init', 'LOAD_RUNTIME_INCLUDES');
+ registerFilter(__FUNCTION__, __LINE__, 'init', 'INIT_EXTENSIONS');
+ registerFilter(__FUNCTION__, __LINE__, 'init', 'INIT_SESSION');
+ registerFilter(__FUNCTION__, __LINE__, 'init', 'SET_CURRENT_DATE');
+ registerFilter(__FUNCTION__, __LINE__, 'init', 'INIT_RANDOM_NUMBER');
+ registerFilter(__FUNCTION__, __LINE__, 'init', 'CHECK_REPOSITORY_REVISION');
+ registerFilter(__FUNCTION__, __LINE__, 'init', 'RUN_HOURLY_RESET');
+ registerFilter(__FUNCTION__, __LINE__, 'init', 'RUN_DAILY_RESET');
+ registerFilter(__FUNCTION__, __LINE__, 'init', 'RUN_WEEKLY_RESET');
+ registerFilter(__FUNCTION__, __LINE__, 'init', 'RUN_MONTHLY_RESET');
+ registerFilter(__FUNCTION__, __LINE__, 'init', 'RUN_YEARLY_RESET');
+ registerFilter(__FUNCTION__, __LINE__, 'init', 'TRIGGER_SENDING_POOL');
+ // @TODO Remove this forced removal after a year or so
+ unregisterFilter(__FUNCTION__, __LINE__, 'init', 'DETERMINE_USERNAME', TRUE);
+ registerFilter(__FUNCTION__, __LINE__, 'init', 'DETERMINE_WHAT_ACTION');
+ registerFilter(__FUNCTION__, __LINE__, 'init', 'COUNT_MODULE');
+ registerFilter(__FUNCTION__, __LINE__, 'init', 'UPDATE_LOGIN_DATA');
+ registerFilter(__FUNCTION__, __LINE__, 'init', 'ACTIVATE_EXCHANGE');
+ registerFilter(__FUNCTION__, __LINE__, 'init', 'REDIRECT_WRONG_SERVER_NAME');
+
+ // Post-initialization
+ registerFilter(__FUNCTION__, __LINE__, 'post_init', 'DETERMINE_USERNAME');