* @ingroup Maintenance
*/
-require_once( __DIR__ . '/Maintenance.php' );
+require_once __DIR__ . '/Maintenance.php';
/**
* Maintenance script to dump a the list of files uploaded,
$this->mSharedSupplement = true;
}
}
- $this-> { $this->mAction } ( $this->mShared );
+ $this->{$this->mAction} ( $this->mShared );
if ( $this->mSharedSupplement ) {
$this->fetchUsed( true );
}
/**
* Fetch a list of used images from a particular image source.
*
- * @param $shared Boolean: true to pass shared-dir settings to hash func
+ * @param bool $shared True to pass shared-dir settings to hash func
*/
function fetchUsed( $shared ) {
$dbr = wfGetDB( DB_SLAVE );
/**
* Fetch a list of all images from a particular image source.
*
- * @param $shared Boolean: true to pass shared-dir settings to hash func
+ * @param bool $shared True to pass shared-dir settings to hash func
*/
function fetchLocal( $shared ) {
$dbr = wfGetDB( DB_SLAVE );
}
$maintClass = "UploadDumper";
-require_once( RUN_MAINTENANCE_IF_MAIN );
+require_once RUN_MAINTENANCE_IF_MAIN;