mirror of
https://github.com/vichan-devel/vichan.git
synced 2024-12-01 18:47:20 +01:00
Lower limits
This commit is contained in:
parent
28911c6f22
commit
8ee850bf6c
@ -8,8 +8,8 @@ $protected = array('burgers', 'cow', 'wilno', 'cute');
|
|||||||
$q = query("SELECT uri FROM boards");
|
$q = query("SELECT uri FROM boards");
|
||||||
$boards = $q->fetchAll(PDO::FETCH_COLUMN);
|
$boards = $q->fetchAll(PDO::FETCH_COLUMN);
|
||||||
$now = new DateTime();
|
$now = new DateTime();
|
||||||
$ago = (new DateTime)->sub(new DateInterval('P14D'));
|
$ago = (new DateTime)->sub(new DateInterval('P3D'));
|
||||||
$mod_ago = (new DateTime)->sub(new DateInterval('P14D'));
|
$mod_ago = (new DateTime)->sub(new DateInterval('P7D'));
|
||||||
|
|
||||||
// Find out the last activity for our board
|
// Find out the last activity for our board
|
||||||
$delete = array();
|
$delete = array();
|
||||||
|
Loading…
Reference in New Issue
Block a user