mirror of
https://github.com/bitinflow/expose.git
synced 2026-03-13 13:35:54 +00:00
wip
This commit is contained in:
@@ -37,7 +37,7 @@ class DatabaseLogger implements LoggerRepository
|
|||||||
|
|
||||||
public function cleanOldLogs()
|
public function cleanOldLogs()
|
||||||
{
|
{
|
||||||
$this->database->query("DELETE FROM logs WHERE created_at < date('now', '-10 day')");
|
$this->database->query("DELETE FROM logs WHERE created_at < date('now', '-30 day')");
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getLogsBySubdomain($subdomain): PromiseInterface
|
public function getLogsBySubdomain($subdomain): PromiseInterface
|
||||||
|
|||||||
Reference in New Issue
Block a user