SECURITY: Escape internal error message
[lhc/web/wiklou.git] / maintenance / findOrphanedFiles.php
index 5980631..c4cab71 100644 (file)
@@ -16,7 +16,6 @@
  * http://www.gnu.org/copyleft/gpl.html
  *
  * @file
- * @author Aaron Schulz
  */
 
 require_once __DIR__ . '/Maintenance.php';
@@ -62,7 +61,7 @@ class FindOrphanedFiles extends Maintenance {
                        }
 
                        $pathBatch[] = $path;
-                       if ( count( $pathBatch ) >= $this->mBatchSize ) {
+                       if ( count( $pathBatch ) >= $this->getBatchSize() ) {
                                $this->checkFiles( $repo, $pathBatch, $verbose );
                                $pathBatch = [];
                        }