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:
b283817
)
Satisfy code analyzer by ensuring $urls is defined
author
Siebrand Mazeland
<s.mazeland@xs4all.nl>
Wed, 4 Dec 2013 16:22:01 +0000
(17:22 +0100)
committer
Parent5446
<tylerromeo@gmail.com>
Wed, 4 Dec 2013 22:30:00 +0000
(22:30 +0000)
Change-Id: I0f399edfca51c8949f0d0ce02c7a84f0890db92f
includes/filerepo/file/LocalFile.php
patch
|
blob
|
history
diff --git
a/includes/filerepo/file/LocalFile.php
b/includes/filerepo/file/LocalFile.php
index
1f9190b
..
dd8e38a
100644
(file)
--- a/
includes/filerepo/file/LocalFile.php
+++ b/
includes/filerepo/file/LocalFile.php
@@
-931,8
+931,8
@@
class LocalFile extends File {
// Delete thumbnails
$files = $this->getThumbnails();
// Always purge all files from squid regardless of handler filters
+ $urls = array();
if ( $wgUseSquid ) {
- $urls = array();
foreach ( $files as $file ) {
$urls[] = $this->getThumbUrl( $file );
}