Comparison

plugins/mod_cron.lua @ 13269:d50bee584969

mod_cron: Remove unused import [luacheck] Use of datetime was removed in 6ac5ad578565
author Kim Alvefur <zash@zash.se>
date Sun, 15 Oct 2023 16:41:25 +0200
parent 13265:6ac5ad578565
comparison
equal deleted inserted replaced
13268:081f8f9b3b81 13269:d50bee584969
1 module:set_global(); 1 module:set_global();
2 2
3 local async = require("prosody.util.async"); 3 local async = require("prosody.util.async");
4 local datetime = require("prosody.util.datetime");
5 4
6 local periods = { hourly = 3600; daily = 86400; weekly = 7 * 86400 } 5 local periods = { hourly = 3600; daily = 86400; weekly = 7 * 86400 }
7 6
8 local active_hosts = {} 7 local active_hosts = {}
9 8