X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;ds=sidebyside;f=includes%2Fmail%2FEmailNotification.php;h=8a089f69307dca4b72035145db22df66ded73efa;hb=5a68f2902d4e21bc76482c33344f473912768fec;hp=739dbec03591516745192294f1a909f4594c3388;hpb=e1c6ea78b8c31418493186e08059fc685b5ec6f3;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/mail/EmailNotification.php b/includes/mail/EmailNotification.php index 739dbec035..8a089f6930 100644 --- a/includes/mail/EmailNotification.php +++ b/includes/mail/EmailNotification.php @@ -75,6 +75,20 @@ class EmailNotification { */ protected $editor; + /** + * 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 + * handle notifications using their pageStatus indicator. + * + * @since 1.33 + * @return string + */ + public function getPageStatus() { + return $this->pageStatus; + } + /** * @deprecated since 1.27 use WatchedItemStore::updateNotificationTimestamp directly *