Skip to content

Commit 7604091

Browse files
committed
use the savepoint for modules
1 parent 8d8af84 commit 7604091

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

db/upgrade.php

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
<?php //$Id: upgrade.php,v 1.2 2007/08/08 22:36:54 stronk7 Exp $
22

3-
/**
3+
/**
44
* This file keeps track of upgrades to
5-
* the etherpadlite module
6-
*
7-
* @package mod
8-
* @subpackage etherpadlite
9-
*
10-
* @author Timo Welde <tjwelde@gmail.com>
11-
* @copyright 2012 Humboldt-Universität zu Berlin <moodle-support@cms.hu-berlin.de>
12-
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
5+
* the etherpadlite module
6+
*
7+
* @package mod
8+
* @subpackage etherpadlite
9+
*
10+
* @author Timo Welde <tjwelde@gmail.com>
11+
* @copyright 2012 Humboldt-Universität zu Berlin <moodle-support@cms.hu-berlin.de>
12+
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
1313
*/
1414

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

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

62-
upgrade_plugin_savepoint(true, 2013042901, "mod", "etherpadlite");
62+
upgrade_mod_savepoint(true, 2013042901, "etherpadlite");
6363
}
6464

6565
return $result;

0 commit comments

Comments
 (0)