summaryrefslogtreecommitdiffstats
path: root/modules-available/locationinfo/inc/locationinfo.inc.php
diff options
context:
space:
mode:
authorSimon Rettberg2017-04-20 11:51:47 +0200
committerSimon Rettberg2017-04-20 11:51:47 +0200
commit391d831ec434d12e6ec825fe75f7950bd0da1004 (patch)
treef77aa23a892547feedac08d3c6a54ee0cd24e768 /modules-available/locationinfo/inc/locationinfo.inc.php
parent[locationinfo] CourseBackend: Rename some methods to be more descriptive (diff)
downloadslx-admin-391d831ec434d12e6ec825fe75f7950bd0da1004.tar.gz
slx-admin-391d831ec434d12e6ec825fe75f7950bd0da1004.tar.xz
slx-admin-391d831ec434d12e6ec825fe75f7950bd0da1004.zip
[locationinfo] Rename tables to use module name as prefix; room -> location
Diffstat (limited to 'modules-available/locationinfo/inc/locationinfo.inc.php')
-rw-r--r--modules-available/locationinfo/inc/locationinfo.inc.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules-available/locationinfo/inc/locationinfo.inc.php b/modules-available/locationinfo/inc/locationinfo.inc.php
index 7617d143..6b13ad9a 100644
--- a/modules-available/locationinfo/inc/locationinfo.inc.php
+++ b/modules-available/locationinfo/inc/locationinfo.inc.php
@@ -45,7 +45,7 @@ class LocationInfo
public static function setServerError($serverId, $message)
{
if ($message === false || $message === null) {
- Database::exec("UPDATE `setting_location_info` SET error = NULL
+ Database::exec("UPDATE `locationinfo_coursebackend` SET error = NULL
WHERE serverid = :id", array('id' => $serverId));
} else {
if (empty($message)) {
@@ -55,7 +55,7 @@ class LocationInfo
'timestamp' => time(),
'error' => (string)$message
));
- Database::exec("UPDATE `setting_location_info` SET error = :error
+ Database::exec("UPDATE `locationinfo_coursebackend` SET error = :error
WHERE serverid = :id", array('id' => $serverId, 'error' => $error));
}
}