mirror of
https://bitbucket.org/jsuto/piler.git
synced 2026-10-01 13:00:20 +02:00
theme fixes
This commit is contained in:
1 parent
33871b21b7
commit
e5b1a19b68
18 files changed
+85
-50
No files matched your search
@@ -47,7 +47,7 @@ class ModelPolicyRetention extends Model {
|
||||
$default_retention = DEFAULT_RETENTION * 86400;
|
||||
|
||||
$delta = NOW + 86400 * $data['days'] - $default_retention;
|
||||
$start_ts = NOW - $default_retention;
|
||||
$start_ts = NOW - 2*$default_retention;
|
||||
|
||||
$query = $this->db->query("UPDATE " . VIEW_MESSAGES . " SET retained=? WHERE arrived > ? AND (todomain=? OR fromdomain=?)", array($delta, $start_ts, $data['domain'], $data['domain']));
|
||||
|
||||
|
||||
Reference in new issue
Block a user