aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2023-10-15 16:41:25 +0200
committerKim Alvefur <zash@zash.se>2023-10-15 16:41:25 +0200
commitda4111b9974ee92c405e23d17d996d336e881bf6 (patch)
tree82ca5c827867d08d574b8a060673cf37a0b756cf
parent87f15047363fa17a50938278e6c2893f80d49373 (diff)
downloadprosody-da4111b9974ee92c405e23d17d996d336e881bf6.tar.gz
prosody-da4111b9974ee92c405e23d17d996d336e881bf6.zip
mod_cron: Remove unused import [luacheck]
Use of datetime was removed in 6ac5ad578565
-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