EmailNotification should provide a getter for pageStatus
authorMark A. Hershberger <mah@nichework.com>
Wed, 6 Sep 2017 00:42:21 +0000 (20:42 -0400)
committerLegoktm <legoktm@member.fsf.org>
Fri, 21 Dec 2018 01:36:33 +0000 (01:36 +0000)
commit9d9e3117c7f7e91bc6580fc9f8788b37e540ff34
treeae5658333f4c2ef089b920e4a29cd441ad8e754b
parent6365da68786f24f78ee34545572f9b9610cf50d4
EmailNotification should provide a getter for pageStatus

Extensions that have hooks for
UpdateUserMailerFormattedPageStatus (to provide additional
pageStatus indicators) need a way to make sure that, when their
hook is called in SendWatchlistemailNotification, they only
notifications handling their pageStatus indicator.  This allows them
to fetch the protected property.

Bug: T175104
Change-Id: I2beb5b3576f2cd739dab16b9adf613c96636edd3
includes/mail/EmailNotification.php