Uploaded image for project: 'phpBB'
  1. phpBB
  2. PHPBB-14799

purge_notifications() leaves open transaction for bad notification types.

XMLWordPrintable

      When running purge_notifications(), if a notification type does not exist then a db transaction is started but never completed.

      This is because when the code tries to get the id for the notification type, get_notification_type_id() throws an error.

      This breaks future code which runs afterward the purge step (for example, deleting an extension from the DB).

            nicofuma nicofuma
            markshawtoronto markshawtoronto [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: