Skip to content
Snippets Groups Projects
Commit b9f8ed3e authored by Thijs Kinkhorst's avatar Thijs Kinkhorst
Browse files

Merge pull request #345 from brentboghosian/master

Changes for PHP 7.
parents cbe01a34 2c8e6be7
No related branches found
No related tags found
No related merge requests found
...@@ -88,7 +88,7 @@ class Auth_Yubico ...@@ -88,7 +88,7 @@ class Auth_Yubico
* @param string The client MAC key (optional) * @param string The client MAC key (optional)
* @access public * @access public
*/ */
function Auth_Yubico($id, $key = '') public function __construct($id, $key = '')
{ {
$this->_id = $id; $this->_id = $id;
$this->_key = base64_decode($key); $this->_key = base64_decode($key);
......
...@@ -27,7 +27,7 @@ class sspmod_statistics_DateHandlerMonth extends sspmod_statistics_DateHandler { ...@@ -27,7 +27,7 @@ class sspmod_statistics_DateHandlerMonth extends sspmod_statistics_DateHandler {
$month = ($slot % 12); $month = ($slot % 12);
$year = 2000 + floor($slot / 12); $year = 2000 + floor($slot / 12);
$epoch = mktime(0, 0, 0, $month + 1, 1, $year, FALSE); $epoch = mktime(0, 0, 0, $month + 1, 1, $year);
return $epoch; return $epoch;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment