Skip to content

Commit

Permalink
Merge pull request #15057 from seamuslee001/nfc_upgrade_template_refo…
Browse files Browse the repository at this point in the history
…rmat

[NFC] Update Upgrade Template to use short array syntax
  • Loading branch information
seamuslee001 authored Aug 17, 2019
2 parents 88cd7aa + 63fb199 commit 320f064
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CRM/Upgrade/Incremental/php/Template.php
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ public function setPostUpgradeMessage(&$postUpgradeMessage, $rev) {
// * @param string $rev
// */
// public function upgrade_5_0_x($rev) {
// $this->addTask(ts('Upgrade DB to %1: SQL', array(1 => $rev)), 'runSql', $rev);
// $this->addTask(ts('Upgrade DB to %1: SQL', [1 => $rev]), 'runSql', $rev);
// $this->addTask('Do the foo change', 'taskFoo', ...);
// // Additional tasks here...
// // Note: do not use ts() in the addTask description because it adds unnecessary strings to transifex.
Expand Down

0 comments on commit 320f064

Please sign in to comment.