mod_cron: Remove unused import [luacheck]
authorKim Alvefur <zash@zash.se>
Sun, 15 Oct 2023 16:41:25 +0200
changeset 13273 d50bee584969
parent 13272 081f8f9b3b81
child 13274 14bbfb2cc8dd
mod_cron: Remove unused import [luacheck] Use of datetime was removed in 6ac5ad578565
plugins/mod_cron.lua
teal-src/prosody/plugins/mod_cron.tl
--- a/plugins/mod_cron.lua	Sun Oct 15 14:57:24 2023 +0200
+++ b/plugins/mod_cron.lua	Sun Oct 15 16:41:25 2023 +0200
@@ -1,7 +1,6 @@
 module:set_global();
 
 local async = require("prosody.util.async");
-local datetime = require("prosody.util.datetime");
 
 local periods = { hourly = 3600; daily = 86400; weekly = 7 * 86400 }
 
--- a/teal-src/prosody/plugins/mod_cron.tl	Sun Oct 15 14:57:24 2023 +0200
+++ b/teal-src/prosody/plugins/mod_cron.tl	Sun Oct 15 16:41:25 2023 +0200
@@ -1,7 +1,6 @@
 module:set_global();
 
 local async = require "prosody.util.async";
-local datetime = require "prosody.util.datetime";
 
 local record map_store<K,V>
 	-- TODO move to somewhere sensible