* @ingroup Maintenance
*/
-require_once( dirname(__FILE__) . '/Maintenance.php' );
+require_once( dirname( __FILE__ ) . '/Maintenance.php' );
class HttpSessionDownload extends Maintenance {
public function __construct() {
}
public function execute() {
- wfProfileIn(__METHOD__);
+ wfProfileIn( __METHOD__ );
- //run the download:
- Http::doSessionIdDownload( $this->getOption('sid'), $this->getOption('usk') );
+ // run the download:
+ Http::doSessionIdDownload( $this->getOption( 'sid' ), $this->getOption( 'usk' ) );
// close up shop:
// Execute any deferred updates
// Shut down the database before exit
wfGetLBFactory()->shutdown();
- wfProfileOut(__METHOD__);
+ wfProfileOut( __METHOD__ );
}
}