Skip to content
Snippets Groups Projects
Commit 2c8e6be7 authored by Brent Boghosian's avatar Brent Boghosian
Browse files

Changes for PHP 7.

parent 952027dd
No related branches found
No related tags found
No related merge requests found
......@@ -88,7 +88,7 @@ class Auth_Yubico
* @param string The client MAC key (optional)
* @access public
*/
function Auth_Yubico($id, $key = '')
public function __construct($id, $key = '')
{
$this->_id = $id;
$this->_key = base64_decode($key);
......
......@@ -27,7 +27,7 @@ class sspmod_statistics_DateHandlerMonth extends sspmod_statistics_DateHandler {
$month = ($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;
}
......
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