Skip to content
Snippets Groups Projects
Commit 627bb6fb authored by Jared Hancock's avatar Jared Hancock
Browse files

php: Fix crash for PHP 5.3 < 5.3.8

parent cb54e189
No related branches found
No related tags found
No related merge requests found
<?php <?php
interface AuthenticatedUser { interface AuthenticatedUser {
/* PHP 5.3 < 5.3.8 will crash with some abstract inheritance issue
* ------------------------------------------------------------
// Get basic information // Get basic information
function getId(); function getId();
function getUsername(); function getUsername();
...@@ -20,6 +22,7 @@ interface AuthenticatedUser { ...@@ -20,6 +22,7 @@ interface AuthenticatedUser {
// Signal method to allow performing extra things when a user is logged // Signal method to allow performing extra things when a user is logged
// into the sysem // into the sysem
function onLogin($bk); function onLogin($bk);
*/
} }
abstract class BaseAuthenticatedUser abstract class BaseAuthenticatedUser
......
...@@ -427,11 +427,14 @@ interface EmailContact { ...@@ -427,11 +427,14 @@ interface EmailContact {
} }
interface ITicketUser { interface ITicketUser {
/* PHP 5.3 < 5.3.8 will crash with some abstract inheritance issue
* ------------------------------------------------------------
function isOwner(); function isOwner();
function flagGuest(); function flagGuest();
function isGuest(); function isGuest();
function getUserId(); function getUserId();
function getTicketId(); function getTicketId();
function getTicket(); function getTicket();
*/
} }
?> ?>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment