From 627bb6fb248e986b53a7798e4a857813fffb84c4 Mon Sep 17 00:00:00 2001
From: Jared Hancock <jared@osticket.com>
Date: Tue, 4 Aug 2015 14:13:36 -0500
Subject: [PATCH] php: Fix crash for PHP 5.3 < 5.3.8

---
 include/class.auth.php   | 3 +++
 include/class.client.php | 3 +++
 2 files changed, 6 insertions(+)

diff --git a/include/class.auth.php b/include/class.auth.php
index e320a4f5e..30a4290b6 100644
--- a/include/class.auth.php
+++ b/include/class.auth.php
@@ -1,6 +1,8 @@
 <?php
 
 interface AuthenticatedUser {
+/* PHP 5.3 < 5.3.8 will crash with some abstract inheritance issue
+ * ------------------------------------------------------------
     // Get basic information
     function getId();
     function getUsername();
@@ -20,6 +22,7 @@ interface AuthenticatedUser {
     // Signal method to allow performing extra things when a user is logged
     // into the sysem
     function onLogin($bk);
+ */
 }
 
 abstract class BaseAuthenticatedUser
diff --git a/include/class.client.php b/include/class.client.php
index 746b5e63d..1c7bdcfa8 100644
--- a/include/class.client.php
+++ b/include/class.client.php
@@ -427,11 +427,14 @@ interface EmailContact {
 }
 
 interface ITicketUser {
+/* PHP 5.3 < 5.3.8 will crash with some abstract inheritance issue
+ * ------------------------------------------------------------
     function isOwner();
     function flagGuest();
     function isGuest();
     function getUserId();
     function getTicketId();
     function getTicket();
+ */
 }
 ?>
-- 
GitLab