From: Brion Vibber Date: Thu, 21 Apr 2005 22:37:32 +0000 (+0000) Subject: Remove unnecessary quoting on table names which breaks table prefixes X-Git-Tag: 1.5.0alpha1~190 X-Git-Url: https://git.cyclocoop.org/%28%28?a=commitdiff_plain;h=bcc7553e5f5db4a0126623323bd20bfa9286d6f6;p=lhc%2Fweb%2Fwiklou.git Remove unnecessary quoting on table names which breaks table prefixes --- 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