/** * Upgrade this module if necessary * @param string $old_vers * @param string $new_vers * @return boolean */ public function post_update($old_vers, $new_vers) { /* * In 3.2.3 we moved some lists from entry to magicdata storage so we need to get the * old data from entry and save them to the new form storage. */ if ($this->do_migrate) { if (!$this->migrate()) { return false; } } if ($this->do_migrate326) { if (!$this->migrate326()) { return false; } } return parent::post_update($old_vers, $new_vers); }
/** * Upgrade this module if necessary * @param string $old_vers * @param string $new_vers * @return boolean */ public function post_update($old_vers, $new_vers) { /* * In 4.1.8 the training_classification form was moved to magicdata storage * instead of entry */ if ($this->do_migrate) { if (!$this->migrate()) { return false; } } return parent::post_update($old_vers, $new_vers); }