less often demo cleaning

This commit is contained in:
m 2018-04-15 23:30:40 +02:00
parent 081fdae5f5
commit 0f4587adf8

View File

@ -25,8 +25,11 @@ class PurgeService {
public function repeatedCleanings() {
$this->purgeOldPolls();
if (0 === time() % 10) {
$this->cleanDemoPoll();
}
}
/**
* This methode purges all old polls (the ones with end_date in past).