public function process() { $project = $this->getProjectFromParameters(); try { $this->mediawiki_migrator->migrateProjectTo123($project); $this->done(); } catch (System_Command_CommandException $exception) { $this->error($exception->getMessage()); } }
public function process() { $project = $this->getProjectFromParameters(); try { $this->mediawiki_migrator->migrateProjectTo123($project); $this->version_manager->saveVersionForProject($project, MediawikiVersionManager::MEDIAWIKI_123_VERSION); if ($this->mleb_manager->isMLEBExtensionInstalled()) { $this->mleb_manager->saveMLEBActivationForProject($project); } $this->done(); } catch (System_Command_CommandException $exception) { $this->error($exception->getMessage()); } }
private function runUpdate(Project $project) { $this->migrator->runUpdateScript($project); }