From: Antoine Musso Date: Sun, 4 Dec 2005 19:58:20 +0000 (+0000) Subject: useless call X-Git-Tag: 1.6.0~1028 X-Git-Url: https://git.cyclocoop.org/%242?a=commitdiff_plain;h=027030d18104525bd9c3e7b6fb68251e9ead6820;p=lhc%2Fweb%2Fwiklou.git useless call --- diff --git a/includes/WatchedItem.php b/includes/WatchedItem.php index 11c6eec3b9..a281683ffc 100644 --- a/includes/WatchedItem.php +++ b/includes/WatchedItem.php @@ -158,8 +158,6 @@ class WatchedItem { $newtitle = $nt->getDBkey(); $dbw =& wfGetDB( DB_MASTER ); - $watchlist = $dbw->tableName( 'watchlist' ); - $res = $dbw->select( 'watchlist', 'wl_user', array( 'wl_namespace' => $oldnamespace, 'wl_title' => $oldtitle ), $fname, 'FOR UPDATE'