diff options
-rwxr-xr-x | web/labitrackd.lua | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/web/labitrackd.lua b/web/labitrackd.lua index df84bdf..77d15b5 100755 --- a/web/labitrackd.lua +++ b/web/labitrackd.lua @@ -274,14 +274,6 @@ GET('/recent.json', function(req, res) add_json(res, assert(db:run('recent'))) end) -local function unescape(s) - s = string.gsub(s, "+", " ") - s = string.gsub(s, "%%(%x%x)", function (h) - return string.char(tonumber(h, 16)) - end) - return s -end - local function save_or_update(req, res) set_json_nocache_headers(res) |