From bcc7553e5f5db4a0126623323bd20bfa9286d6f6 Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Thu, 21 Apr 2005 22:37:32 +0000 Subject: [PATCH] Remove unnecessary quoting on table names which breaks table prefixes --- includes/Image.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/Image.php b/includes/Image.php index 3631a07d15..9ded475a2b 100644 --- a/includes/Image.php +++ b/includes/Image.php @@ -336,7 +336,7 @@ class Image // This avoids breaking replication in MySQL $dbw->selectDB( $wgSharedUploadDBname ); } - $dbw->update( '`image`', + $dbw->update( 'image', array( 'img_width' => $this->width, 'img_height' => $this->height, @@ -1161,7 +1161,7 @@ class Image # Update EXIF data in database $dbw =& wfGetDB( DB_MASTER ); - $dbw->update( '`image`', + $dbw->update( 'image', array( 'img_metadata' => $this->exif ), array( 'img_name' => $this->name ), $fname -- 2.20.1