Uploaded image for project: 'phpBB3'
  1. phpBB3
  2. PHPBB3-14799

purge_notifications() leaves open transaction for bad notification types.

    XMLWordPrintable

    Details

      Description

      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).

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: