aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--plugins/mod_cron.lua1
-rw-r--r--teal-src/prosody/plugins/mod_cron.tl1
2 files changed, 0 insertions, 2 deletions
diff --git a/plugins/mod_cron.lua b/plugins/mod_cron.lua
index dc9cfbd4..32810b35 100644
--- a/plugins/mod_cron.lua
+++ b/plugins/mod_cron.lua
@@ -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 }
diff --git a/teal-src/prosody/plugins/mod_cron.tl b/teal-src/prosody/plugins/mod_cron.tl
index ab6310e7..5c052f2f 100644
--- a/teal-src/prosody/plugins/mod_cron.tl
+++ b/teal-src/prosody/plugins/mod_cron.tl
@@ -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