mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2026-07-28 12:36:52 +00:00
[Rspamd] Set new last modified when changing Rspamd settings
This commit is contained in:
parent
7a87c492ed
commit
e0535bedbb
1 changed files with 2 additions and 2 deletions
|
|
@ -26,8 +26,8 @@ catch (PDOException $e) {
|
|||
}
|
||||
|
||||
// Check if db changed and return header
|
||||
$stmt = $pdo->prepare("SELECT UNIX_TIMESTAMP(UPDATE_TIME) AS `db_update_time` FROM information_schema.tables
|
||||
WHERE `TABLE_NAME` = 'filterconf'
|
||||
$stmt = $pdo->prepare("SELECT MAX(UNIX_TIMESTAMP(UPDATE_TIME)) AS `db_update_time` FROM information_schema.tables
|
||||
WHERE (`TABLE_NAME` = 'filterconf' OR `TABLE_NAME` = 'settingsmap')
|
||||
AND TABLE_SCHEMA = :dbname;");
|
||||
$stmt->execute(array(
|
||||
':dbname' => $database_name
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue