# HG changeset patch # User Kim Alvefur # Date 1697380885 -7200 # Node ID d50bee58496991727a917f8b6e580cfa7ebefc6c # Parent 081f8f9b3b8191b40f5df314bee23b75e1037d0f mod_cron: Remove unused import [luacheck] Use of datetime was removed in 6ac5ad578565 diff -r 081f8f9b3b81 -r d50bee584969 plugins/mod_cron.lua --- 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 } diff -r 081f8f9b3b81 -r d50bee584969 teal-src/prosody/plugins/mod_cron.tl --- 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 -- TODO move to somewhere sensible