Skip to content

Commit

Permalink
fix(install): harmonize upgrade methods
Browse files Browse the repository at this point in the history
Signed-off-by: btry <tbugier@teclib.com>
  • Loading branch information
btry committed Aug 14, 2018
1 parent cbb04b6 commit b1666b8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion install/update_2.6.2_2.6.3.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,10 @@
* ---------------------------------------------------------------------
*/

function plugin_formcreator_update_2_6_3() {
/**
* @param Migration $migration
*/
function plugin_formcreator_update_2_6_3(Migration $migration) {
global $DB;

// Change id of search option for status of form_answer
Expand Down
2 changes: 1 addition & 1 deletion install/update_2.6_2.7.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
*
* @return void
*/
function plugin_formcreator_update_2_7() {
function plugin_formcreator_update_2_7(Migration $migration) {
global $DB;

// Migrate regex question parameters
Expand Down

0 comments on commit b1666b8

Please sign in to comment.