Satisfy code analyzer by ensuring $urls is defined
Change-Id: I0f399edfca51c8949f0d0ce02c7a84f0890db92f
This commit is contained in:
parent
b283817e32
commit
43605121f8
1 changed files with 1 additions and 1 deletions
|
|
@ -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 );
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue