From 24d6ef907cadb15049338f511f7f4d5b37691a61 Mon Sep 17 00:00:00 2001 From: jmontoyaa Date: Fri, 1 Sep 2017 10:04:05 +0200 Subject: [PATCH] Minor - fix function definition --- main/inc/lib/security.lib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/inc/lib/security.lib.php b/main/inc/lib/security.lib.php index 8d3fbcc4a0..f8218e3a40 100755 --- a/main/inc/lib/security.lib.php +++ b/main/inc/lib/security.lib.php @@ -121,7 +121,7 @@ class Security /** * @return string */ - public function getTokenFromSession() + public static function getTokenFromSession() { return Session::read('sec_token'); }