dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ee117b6
)
Remove unnecessary quoting on table names which breaks table prefixes
author
Brion Vibber
<brion@users.mediawiki.org>
Thu, 21 Apr 2005 22:37:32 +0000
(22:37 +0000)
committer
Brion Vibber
<brion@users.mediawiki.org>
Thu, 21 Apr 2005 22:37:32 +0000
(22:37 +0000)
includes/Image.php
patch
|
blob
|
history
diff --git
a/includes/Image.php
b/includes/Image.php
index
3631a07
..
9ded475
100644
(file)
--- 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