Comparison

plugins/mod_admin_shell.lua @ 13351:e8429d2faea4

mod_admin_shell: Remove timer:info() (it's been debug:timers() for some time)
author Matthew Wild <mwild1@gmail.com>
date Wed, 29 Nov 2023 17:22:18 +0000
parent 13350:0573401b0f9f
child 13352:b1f5a5531564
comparison
equal deleted inserted replaced
13350:0573401b0f9f 13351:e8429d2faea4
2156 location.short_src..(location.currentline and ":"..location.currentline or ""); 2156 location.short_src..(location.currentline and ":"..location.currentline or "");
2157 }); 2157 });
2158 end 2158 end
2159 return true, ("%d runners pending"):format(c); 2159 return true, ("%d runners pending"):format(c);
2160 end 2160 end
2161
2162 -- COMPAT: debug:timers() was timer:info() for some time in trunk
2163 def_env.timer = { info = def_env.debug.timers };
2164 2161
2165 def_env.stats = new_section("Commands to show internal statistics"); 2162 def_env.stats = new_section("Commands to show internal statistics");
2166 2163
2167 local short_units = { 2164 local short_units = {
2168 seconds = "s", 2165 seconds = "s",