dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Exception is never thrown in the getConnection() method
[lhc/web/wiklou.git]
/
includes
/
watcheditem
/
WatchedItemQueryService.php
diff --git
a/includes/watcheditem/WatchedItemQueryService.php
b/includes/watcheditem/WatchedItemQueryService.php
index
95b4cb4
..
a85e7e8
100644
(file)
--- a/
includes/watcheditem/WatchedItemQueryService.php
+++ b/
includes/watcheditem/WatchedItemQueryService.php
@@
-88,7
+88,6
@@
class WatchedItemQueryService {
/**
* @return IDatabase
- * @throws MWException
*/
private function getConnection() {
return $this->loadBalancer->getConnectionRef( DB_REPLICA, [ 'watchlist' ] );