Remove unnecessary quoting on table names which breaks table prefixes
authorBrion Vibber <brion@users.mediawiki.org>
Thu, 21 Apr 2005 22:37:32 +0000 (22:37 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Thu, 21 Apr 2005 22:37:32 +0000 (22:37 +0000)
includes/Image.php

index 3631a07..9ded475 100644 (file)
@@ -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