From 85d87cfeac737c3ded7e67574e4b4f50864e6f09 Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Sat, 15 Mar 2008 08:48:21 +0000 Subject: [PATCH] Remove unused variables --- includes/filerepo/LocalFile.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/includes/filerepo/LocalFile.php b/includes/filerepo/LocalFile.php index 4949aac0a9..60b60d482a 100644 --- a/includes/filerepo/LocalFile.php +++ b/includes/filerepo/LocalFile.php @@ -1360,13 +1360,12 @@ class LocalFileDeleteBatch { $dbw = $this->file->repo->getMasterDB(); if( !empty( $oldRels ) ) { $res = $dbw->select( 'oldimage', - array( 'oi_archive_name', 'oi_sha1' ), + array( 'oi_archive_name' ), array( 'oi_name' => $this->file->getName(), 'oi_archive_name IN (' . $dbw->makeList( array_keys($oldRels) ) . ')', 'oi_deleted & ' . File::DELETED_FILE => File::DELETED_FILE ), __METHOD__ ); while( $row = $dbw->fetchObject( $res ) ) { - $title = $this->file->getTitle(); $privateFiles[$row->oi_archive_name] = 1; } } -- 2.20.1