/** * @return array */ public function processUpdateDownload() { Craft::log('Starting to process the update download.', LogLevel::Info, true); try { $updater = new Updater(); $result = $updater->processDownload(); $result['success'] = true; Craft::log('Finished processing the update download.', LogLevel::Info, true); return $result; } catch (\Exception $e) { return array('success' => false, 'message' => $e->getMessage()); } }