Exception is never thrown in the getConnection() method
authorDerick Alangi <alangiderick@gmail.com>
Fri, 1 Feb 2019 16:02:30 +0000 (17:02 +0100)
committerDerick Alangi <alangiderick@gmail.com>
Fri, 1 Feb 2019 16:02:30 +0000 (17:02 +0100)
Change-Id: I4758e049ebbc67c2a9bc0fefe8b8c2d19f598929

includes/watcheditem/WatchedItemQueryService.php

index 95b4cb4..a85e7e8 100644 (file)
@@ -88,7 +88,6 @@ class WatchedItemQueryService {
 
        /**
         * @return IDatabase
-        * @throws MWException
         */
        private function getConnection() {
                return $this->loadBalancer->getConnectionRef( DB_REPLICA, [ 'watchlist' ] );