diff --git a/src/lua/endpoints/edit_post.lua b/src/lua/endpoints/edit_post.lua index 441acdf..5619ab0 100644 --- a/src/lua/endpoints/edit_post.lua +++ b/src/lua/endpoints/edit_post.lua @@ -34,7 +34,6 @@ local function edit_post(req) local pasteas = assert(http_argument_get_string(req,"pasteas")) local markup = assert(http_argument_get_string(req,"markup")) local unlisted = http_argument_get_string(req,"unlisted") == "on" - print("unlisted was:",unlisted) local tags_str = http_argument_get_string(req,"tags") stmnt_author_of:bind_names{ id = storyid diff --git a/src/lua/endpoints/index_get.lua b/src/lua/endpoints/index_get.lua index 177da8c..3784180 100644 --- a/src/lua/endpoints/index_get.lua +++ b/src/lua/endpoints/index_get.lua @@ -44,7 +44,7 @@ local function get_site_home(req, loggedin) } end local function get_author_home(req) - print("Looking at author home...") + --print("Looking at author home...") local host = http_request_get_host(req) local subdomain = host:match("([^\\.]+)") stmnt_author_bio:bind_names{author=subdomain} @@ -64,7 +64,7 @@ local function get_author_home(req) stmnt_author:bind_names{author=subdomain} local stories = {} for id, title, time, hits, unlisted, hash in util.sql_rows(stmnt_author) do - print("Looking at:",id,title,time,hits,unlisted) + --print("Looking at:",id,title,time,hits,unlisted) if unlisted == 1 and author == subdomain then local url = util.encode_id(id) .. "?pwd=" .. util.encode_unlisted(hash) table.insert(stories,{