* verify install post values directly on config page and display error

* first usage report will be send after 7 days
This commit is contained in:
slawkens1
2017-11-14 21:11:32 +01:00
parent 37f792d9ce
commit 7d6bbb3385
7 changed files with 32 additions and 9 deletions

View File

@@ -211,7 +211,8 @@ if(isset($config['anonymous_usage_statistics']) && $config['anonymous_usage_stat
}
}
else {
registerDatabaseConfig('last_usage_report', time());
registerDatabaseConfig('last_usage_report', time() - ($report_time - (7 * 24 * 60 * 60))); // first report after a week
$should_report = false;
}
}