summaryrefslogtreecommitdiff
path: root/maintenance/importImages.inc.php
diff options
context:
space:
mode:
Diffstat (limited to 'maintenance/importImages.inc.php')
-rw-r--r--maintenance/importImages.inc.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/maintenance/importImages.inc.php b/maintenance/importImages.inc.php
index bf48c0c7..c8fbc541 100644
--- a/maintenance/importImages.inc.php
+++ b/maintenance/importImages.inc.php
@@ -3,8 +3,7 @@
/**
* Support functions for the importImages script
*
- * @package MediaWiki
- * @subpackage Maintenance
+ * @addtogroup Maintenance
* @author Rob Church <robchur@gmail.com>
*/
@@ -20,7 +19,7 @@ function findFiles( $dir, $exts ) {
if( $dhl = opendir( $dir ) ) {
while( ( $file = readdir( $dhl ) ) !== false ) {
if( is_file( $dir . '/' . $file ) ) {
- list( $name, $ext ) = splitFilename( $dir . '/' . $file );
+ list( /* $name */, $ext ) = splitFilename( $dir . '/' . $file );
if( array_search( strtolower( $ext ), $exts ) !== false )
$files[] = $dir . '/' . $file;
}