aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Duncan <pabs@pablotron.org>2016-03-31 18:51:00 -0400
committerPaul Duncan <pabs@pablotron.org>2016-03-31 18:51:00 -0400
commiteb28614ecc82220db2c1bb7991f05f0f1ff46958 (patch)
tree96cfcd8450894e66b7b760d8df4fb4cc993d9305
parentd9ad2ce483d8a204d59f01c1806b7a6e9147dbb9 (diff)
downloadold-guff-eb28614ecc82220db2c1bb7991f05f0f1ff46958.tar.bz2
old-guff-eb28614ecc82220db2c1bb7991f05f0f1ff46958.zip
remove unused session calls
-rw-r--r--src/guff/handler.cr6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/guff/handler.cr b/src/guff/handler.cr
index 52269a3..b44e836 100644
--- a/src/guff/handler.cr
+++ b/src/guff/handler.cr
@@ -28,12 +28,6 @@ module Guff
@models.session.set(sid, data.to_json) if save
end
- private def get_session(context) : Hash(String, String)
- end
-
- private def save_session(sid, data)
- end
-
private def redirect(context, url : String)
context.response.status_code = 302
context.response.headers["location"] = url