diff options
Diffstat (limited to 'modules-available/syslog/install.inc.php')
-rw-r--r-- | modules-available/syslog/install.inc.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules-available/syslog/install.inc.php b/modules-available/syslog/install.inc.php index 9d79c811..d42a4e0e 100644 --- a/modules-available/syslog/install.inc.php +++ b/modules-available/syslog/install.inc.php @@ -31,11 +31,11 @@ if (!tableHasColumn('clientlog', 'machineuuid')) { // 2017-11-03: Create proper index for query in statistics module if (tableHasIndex('clientlog', ['machineuuid'])) { - $r = Database::exec("ALTER TABLE `openslx`.`clientlog` DROP INDEX `machineuuid`"); + $r = Database::exec("ALTER TABLE `clientlog` DROP INDEX `machineuuid`"); $res[] = $r === false ? UPDATE_FAILED : UPDATE_DONE; } if (!tableHasIndex('clientlog', ['machineuuid', 'logid'])) { - $r = Database::exec("ALTER TABLE `openslx`.`clientlog` + $r = Database::exec("ALTER TABLE `clientlog` ADD INDEX `machineuuid` ( `machineuuid` , `logid` )"); $res[] = $r === false ? UPDATE_FAILED : UPDATE_DONE; } |