dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix MySQLism in populateRevisionLength.php
[lhc/web/wiklou.git]
/
includes
/
api
/
ApiQueryImageInfo.php
diff --git
a/includes/api/ApiQueryImageInfo.php
b/includes/api/ApiQueryImageInfo.php
index
0603923
..
e447f4f
100644
(file)
--- a/
includes/api/ApiQueryImageInfo.php
+++ b/
includes/api/ApiQueryImageInfo.php
@@
-1,9
+1,5
@@
<?php
/**
<?php
/**
- *
- *
- * Created on July 6, 2007
- *
* Copyright © 2006 Yuri Astrakhan "<Firstname><Lastname>@gmail.com"
*
* This program is free software; you can redistribute it and/or modify
* Copyright © 2006 Yuri Astrakhan "<Firstname><Lastname>@gmail.com"
*
* This program is free software; you can redistribute it and/or modify
@@
-546,9
+542,9
@@
class ApiQueryImageInfo extends ApiQueryBase {
}
if ( $meta ) {
}
if ( $meta ) {
-
MediaWiki
\suppressWarnings();
+
Wikimedia
\suppressWarnings();
$metadata = unserialize( $file->getMetadata() );
$metadata = unserialize( $file->getMetadata() );
-
MediaWiki
\restoreWarnings();
+
Wikimedia
\restoreWarnings();
if ( $metadata && $version !== 'latest' ) {
$metadata = $file->convertMetadataVersion( $metadata, $version );
}
if ( $metadata && $version !== 'latest' ) {
$metadata = $file->convertMetadataVersion( $metadata, $version );
}