From 2c8e6be7e8d4e665a8a96133018c77152bb77817 Mon Sep 17 00:00:00 2001
From: Brent Boghosian <brent.boghosian@remote-learner.net>
Date: Tue, 8 Mar 2016 14:57:45 -0500
Subject: [PATCH] Changes for PHP 7.

---
 modules/authYubiKey/libextinc/Yubico.php    | 2 +-
 modules/statistics/lib/DateHandlerMonth.php | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/authYubiKey/libextinc/Yubico.php b/modules/authYubiKey/libextinc/Yubico.php
index 81d584b8b..aaf99c998 100644
--- a/modules/authYubiKey/libextinc/Yubico.php
+++ b/modules/authYubiKey/libextinc/Yubico.php
@@ -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);
diff --git a/modules/statistics/lib/DateHandlerMonth.php b/modules/statistics/lib/DateHandlerMonth.php
index 20adb8122..b0f4e2cd1 100644
--- a/modules/statistics/lib/DateHandlerMonth.php
+++ b/modules/statistics/lib/DateHandlerMonth.php
@@ -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;
 	}
 
-- 
GitLab