Skip to content

Commit

Permalink
remove patterns from datalynx_views in order to proberly upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
dasistwas committed Oct 20, 2015
1 parent dbf4c28 commit 728d545
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions db/upgrade.php
Expand Up @@ -790,6 +790,12 @@ function xmldb_datalynx_upgrade($oldversion) {
upgrade_mod_savepoint(true, 2015032208, 'datalynx');
}

if ($oldversion < 2015102000) {
$views = $DB->set_field_select('datalynx_views','patterns',null, 'id >= 0');
// datalynx savepoint reached
upgrade_mod_savepoint(true, 2015102000, 'datalynx');
}

return true;
}

Expand Down
4 changes: 2 additions & 2 deletions version.php
Expand Up @@ -22,7 +22,7 @@
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
$plugin->component = 'mod_datalynx';
$plugin->version = 2015101700;
$plugin->release = 'Skyler White 1.2'; // famous movie, theater and tv series characters
$plugin->version = 2015102000;
$plugin->release = 'Skyler White 1.3'; // famous movie, theater and tv series characters
$plugin->requires = 2014050800;
$plugin->maturity = MATURITY_STABLE;

0 comments on commit 728d545

Please sign in to comment.