WordPress.org

Making WordPress.org

Changeset 1175


Ignore:
Timestamp:
01/23/2015 07:14:39 AM (5 years ago)
Author:
nacin
Message:

Trac: Update notifications patch to account for additional subscriber DB values.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/trac.wordpress.org/patches/notifications.diff

    r371 r1175  
    6363+
    6464+            # Add individual ticket subscribers
    65 +            for row in db("""SELECT username FROM _ticket_subs WHERE ticket = %s AND status = 1""", (tktid,)):
     65+            for row in db("""SELECT username FROM _ticket_subs WHERE ticket = %s AND status > 0""", (tktid,)):
    6666+                torecipients.append(row[0])
    6767+
Note: See TracChangeset for help on using the changeset viewer.