Skip to content

Commit 614e7bd

Browse files
committed
Indent for readability
1 parent f9f235c commit 614e7bd

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

interface/lib/classes/db_mysql.inc.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -845,7 +845,11 @@ public function datalogStatus($login = '') {
845845
$login = $_SESSION['s']['user']['username'];
846846
}
847847

848-
$result = $this->queryAllRecords("SELECT COUNT( * ) AS cnt, sys_datalog.action, sys_datalog.dbtable FROM sys_datalog, server WHERE server.server_id = sys_datalog.server_id AND sys_datalog.user = ? AND sys_datalog.datalog_id > server.updated GROUP BY sys_datalog.dbtable, sys_datalog.action", $login);
848+
$result = $this->queryAllRecords("SELECT COUNT( * ) AS cnt, sys_datalog.action, sys_datalog.dbtable
849+
FROM sys_datalog, server
850+
WHERE server.server_id = sys_datalog.server_id AND sys_datalog.user = ? AND sys_datalog.datalog_id > server.updated
851+
GROUP BY sys_datalog.dbtable, sys_datalog.action",
852+
$login);
849853
foreach($result as $row) {
850854
if(!$row['dbtable'] || in_array($row['dbtable'], array('aps_instances', 'aps_instances_settings', 'mail_access', 'mail_content_filter'))) continue; // ignore some entries, maybe more to come
851855
$return['entries'][] = array('table' => $row['dbtable'], 'action' => $row['action'], 'count' => $row['cnt'], 'text' => $app->lng('datalog_status_' . $row['action'] . '_' . $row['dbtable'])); $return['count'] += $row['cnt'];

0 commit comments

Comments
 (0)