Software /
code /
prosody
Changeset
13269:d50bee584969
mod_cron: Remove unused import [luacheck]
Use of datetime was removed in 6ac5ad578565
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 15 Oct 2023 16:41:25 +0200 |
parents | 13268:081f8f9b3b81 |
children | 13270:14bbfb2cc8dd |
files | plugins/mod_cron.lua teal-src/prosody/plugins/mod_cron.tl |
diffstat | 2 files changed, 0 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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