From da4111b9974ee92c405e23d17d996d336e881bf6 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Sun, 15 Oct 2023 16:41:25 +0200 Subject: mod_cron: Remove unused import [luacheck] Use of datetime was removed in 6ac5ad578565 --- plugins/mod_cron.lua | 1 - teal-src/prosody/plugins/mod_cron.tl | 1 - 2 files changed, 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 -- TODO move to somewhere sensible -- cgit v1.2.3