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
Merge "Avoid master queries in Title::getLinksFrom()"
[lhc/web/wiklou.git]
/
includes
/
media
/
GIF.php
diff --git
a/includes/media/GIF.php
b/includes/media/GIF.php
index
b998d18
..
8ec7298
100644
(file)
--- a/
includes/media/GIF.php
+++ b/
includes/media/GIF.php
@@
-65,11
+65,11
@@
class GIFHandler extends BitmapHandler {
$meta = $image->getMetadata();
if ( !$meta ) {
$meta = $image->getMetadata();
if ( !$meta ) {
- return
array()
;
+ return
[]
;
}
$meta = unserialize( $meta );
if ( !isset( $meta['metadata'] ) ) {
}
$meta = unserialize( $meta );
if ( !isset( $meta['metadata'] ) ) {
- return
array()
;
+ return
[]
;
}
unset( $meta['metadata']['_MW_GIF_VERSION'] );
}
unset( $meta['metadata']['_MW_GIF_VERSION'] );
@@
-170,7
+170,7
@@
class GIFHandler extends BitmapHandler {
}
/* Preserve original image info string, but strip the last char ')' so we can add even more */
}
/* Preserve original image info string, but strip the last char ')' so we can add even more */
- $info =
array()
;
+ $info =
[]
;
$info[] = $original;
if ( $metadata['looped'] ) {
$info[] = $original;
if ( $metadata['looped'] ) {