diff options
author | 2019-04-11 12:08:10 -0400 | |
---|---|---|
committer | 2019-04-11 12:08:10 -0400 | |
commit | 0fade6b8594219568c87e08834290cda3f6356af (patch) | |
tree | a11ca46a29dc53d2335de074b00416158490b5be /Echo/includes/special/NotificationPager.php | |
parent | CommentStreams: Include minor fixes from upstream (diff) | |
download | extensions-0fade6b8594219568c87e08834290cda3f6356af.tar.gz extensions-0fade6b8594219568c87e08834290cda3f6356af.tar.bz2 extensions-0fade6b8594219568c87e08834290cda3f6356af.zip |
Update Echo for 1.32
Signed-off-by: Brian Evans <grknight@gentoo.org>
Diffstat (limited to 'Echo/includes/special/NotificationPager.php')
-rw-r--r-- | Echo/includes/special/NotificationPager.php | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Echo/includes/special/NotificationPager.php b/Echo/includes/special/NotificationPager.php index 07a4e06c..9aa85cd8 100644 --- a/Echo/includes/special/NotificationPager.php +++ b/Echo/includes/special/NotificationPager.php @@ -4,13 +4,11 @@ * This pager is used by Special:Notifications (NO-JS). * The heavy-lifting is done by IndexPager (grand-parent to this class). * It paginates on notification_event for a specific user, only for the enabled event types. - * - * Class NotificationPager */ class NotificationPager extends ReverseChronologicalPager { public function __construct() { $dbFactory = MWEchoDbFactory::newFromDefault(); - $this->mDb = $dbFactory->getEchoDb( DB_SLAVE ); + $this->mDb = $dbFactory->getEchoDb( DB_REPLICA ); parent::__construct(); } |