Page MenuHomeIn-Portal Phabricator

D296.diff
No OneTemporary

File Metadata

Created
Fri, Jun 13, 6:06 PM

D296.diff

Index: branches/5.2.x/core/units/helpers/deployment_helper.php
===================================================================
--- branches/5.2.x/core/units/helpers/deployment_helper.php
+++ branches/5.2.x/core/units/helpers/deployment_helper.php
@@ -308,7 +308,14 @@
/** @var LanguageImportHelper $language_import_helper */
$language_import_helper = $this->Application->recallObject('LanguageImportHelper');
- $language_import_helper->performExport(EXPORT_PATH . '/' . $this->moduleName . '.lang', '|0|1|2|', $languages, '|' . $this->moduleName . '|');
+ $this->out('Exporting LanguagePack ... ');
+ $language_import_helper->performExport(
+ EXPORT_PATH . '/' . $this->moduleName . '.lang',
+ '|0|1|2|',
+ $languages,
+ '|' . $this->moduleName . '|'
+ );
+ $this->displayStatus('OK');
}
/**
@@ -484,6 +491,15 @@
}
if ( $this->dryRun ) {
+ $this->out('Simulating Database Upgrade ... ', true);
+
+ foreach ( $this->revisionSqls as $revision => $sqls ) {
+ echo PHP_EOL . $this->colorText($this->revisionTitles[$revision], 'gray', true) . PHP_EOL;
+ echo '...' . PHP_EOL;
+ }
+
+ echo PHP_EOL;
+
$this->appliedRevisions = array_merge($this->appliedRevisions, array_keys($this->revisionSqls));
return true;

Event Timeline