Skip to content

Commit e38239f

Browse files
committed
Ignore bot users and anonymous
Signed-off-by: Matt Friedman <maf675@gmail.com>
1 parent bbdbd22 commit e38239f

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

migrations/update_user_notifications.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ public function update_notifications($start)
6363

6464
$sql = 'SELECT user_id
6565
FROM ' . $this->table_prefix . 'users
66+
WHERE user_type <> ' . USER_IGNORE . '
6667
ORDER BY user_id ASC';
6768
$result = $this->db->sql_query_limit($sql, $limit, $start);
6869

0 commit comments

Comments
 (0)