Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[cron.php] delete time in config-file? #14

Closed
futtta opened this issue Sep 19, 2017 · 0 comments
Closed

[cron.php] delete time in config-file? #14

futtta opened this issue Sep 19, 2017 · 0 comments
Assignees

Comments

@futtta
Copy link
Owner

futtta commented Sep 19, 2017

je delete is nu hardcoded 90 dagen;
$database->delete("posts", array("[<]time" => date("Y-m-d H:i:s", strtotime("-90 days"))));

kun je die aantal dagen ook in de config file steken?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants