From 7604091cc2a2d6916545e55bec399651b3d73de8 Mon Sep 17 00:00:00 2001 From: goldquest Date: Wed, 15 Jan 2014 17:22:50 +0100 Subject: [PATCH] use the savepoint for modules --- db/upgrade.php | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/db/upgrade.php b/db/upgrade.php index 4ae86ca..3da6219 100644 --- a/db/upgrade.php +++ b/db/upgrade.php @@ -1,15 +1,15 @@ - * @copyright 2012 Humboldt-Universität zu Berlin - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later + * the etherpadlite module + * + * @package mod + * @subpackage etherpadlite + * + * @author Timo Welde + * @copyright 2012 Humboldt-Universität zu Berlin + * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ // This file keeps track of upgrades to @@ -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;