Skip to content

Commit

Permalink
use the savepoint for modules
Browse files Browse the repository at this point in the history
  • Loading branch information
tjwelde committed Jan 15, 2014
1 parent 8d8af84 commit 7604091
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions db/upgrade.php
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
<?php //$Id: upgrade.php,v 1.2 2007/08/08 22:36:54 stronk7 Exp $

/**
/**
* This file keeps track of upgrades to
* the etherpadlite module
*
* @package mod
* @subpackage etherpadlite
*
* @author Timo Welde <[email protected]>
* @copyright 2012 Humboldt-Universität zu Berlin <[email protected]>
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
* the etherpadlite module
*
* @package mod
* @subpackage etherpadlite
*
* @author Timo Welde <[email protected]>
* @copyright 2012 Humboldt-Universität zu Berlin <[email protected]>
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/

// This file keeps track of upgrades to
Expand Down Expand Up @@ -59,7 +59,7 @@ function xmldb_etherpadlite_upgrade($oldversion=0) {

$DB->delete_records_select("config", "name LIKE 'etherpadlite_%'");

upgrade_plugin_savepoint(true, 2013042901, "mod", "etherpadlite");
upgrade_mod_savepoint(true, 2013042901, "etherpadlite");
}

return $result;
Expand Down

0 comments on commit 7604091

Please sign in to comment.