From 027030d18104525bd9c3e7b6fb68251e9ead6820 Mon Sep 17 00:00:00 2001 From: Antoine Musso Date: Sun, 4 Dec 2005 19:58:20 +0000 Subject: [PATCH] useless call --- includes/WatchedItem.php | 2 -- 1 file changed, 2 deletions(-) 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' -- 2.20.1