From 502bdc4f7450c8d3ee7df45c88401a2e43f52c09 Mon Sep 17 00:00:00 2001 From: Alexandre Emsenhuber Date: Mon, 30 May 2011 18:28:15 +0000 Subject: [PATCH] Kill httpSessionDownload.php, uses Http::doSessionIdDownload() that was removed in r61352 --- maintenance/httpSessionDownload.php | 57 ----------------------------- 1 file changed, 57 deletions(-) delete mode 100644 maintenance/httpSessionDownload.php diff --git a/maintenance/httpSessionDownload.php b/maintenance/httpSessionDownload.php deleted file mode 100644 index 3c4f16a068..0000000000 --- a/maintenance/httpSessionDownload.php +++ /dev/null @@ -1,57 +0,0 @@ -mDescription = "Simple entry point to initiate a background download"; - $this->addOption( 'sid', 'Session ID', true, true ); - $this->addOption( 'usk', 'Upload session key', true, true ); - } - - public function execute() { - wfProfileIn( __METHOD__ ); - - // run the download: - Http::doSessionIdDownload( $this->getOption( 'sid' ), $this->getOption( 'usk' ) ); - - // close up shop: - // Execute any deferred updates - wfDoUpdates(); - - // Log what the user did, for book-keeping purposes. - wfLogProfilingData(); - - // Shut down the database before exit - wfGetLBFactory()->shutdown(); - - wfProfileOut( __METHOD__ ); - } -} - -$maintClass = "HttpSessionDownload"; -require_once( RUN_MAINTENANCE_IF_MAIN ); -- 2.20.1