SimmeD has uploaded a new change for review. ( https://gerrit.wikimedia.org/r/385496 )
Change subject: New publishers are automatically subscribed ...................................................................... New publishers are automatically subscribed Added so that new publishers are now automatically subscribed to their newsletters. Bug: T175511 Change-Id: Idcf14ab4155d5169a692a144facfc27059a7c31f --- M includes/NewsletterEditPage.php 1 file changed, 3 insertions(+), 0 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Newsletter refs/changes/96/385496/1 diff --git a/includes/NewsletterEditPage.php b/includes/NewsletterEditPage.php index 8cb8793..6aca589 100644 --- a/includes/NewsletterEditPage.php +++ b/includes/NewsletterEditPage.php @@ -415,6 +415,9 @@ $store->addPublisher( $this->newsletter, User::newFromId( $auId ) ); } + // Adds the new publishers to subscription list + $store->addSubscription( $this->newsletter, $added ); + if ( $added ) { EchoEvent::create( [ -- To view, visit https://gerrit.wikimedia.org/r/385496 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Idcf14ab4155d5169a692a144facfc27059a7c31f Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/Newsletter Gerrit-Branch: master Gerrit-Owner: SimmeD <simeond...@gmail.com> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits