- // Start checking accounts which are on 0 confirmed-to-go mails
- while ($content = SQL_FETCHARRAY($result_daily)) {
- //* DEBUG: */ debugOutput(basename(__FILE__) . ':' . $content['userid']);
- $result_points = SQL_QUERY_ESC("SELECT
+ // Run through all 'locked_(foo)_points columsn
+ foreach (runFilterChain('locked_points_columns_array', array('points')) as $columnName) {
+ // Start checking accounts which are on 0 confirmed-to-go mails
+ while ($content = sqlFetchArray($result_daily)) {
+ //* DEBUG: */ debugOutput(basename(__FILE__) . ':' . $content['userid']);
+ $result_points = sqlQueryEscaped("SELECT