Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
O
osticket
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
docker
osticket
Commits
627bb6fb
Commit
627bb6fb
authored
9 years ago
by
Jared Hancock
Browse files
Options
Downloads
Patches
Plain Diff
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
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
include/class.auth.php
+3
-0
3 additions, 0 deletions
include/class.auth.php
include/class.client.php
+3
-0
3 additions, 0 deletions
include/class.client.php
with
6 additions
and
0 deletions
include/class.auth.php
+
3
−
0
View file @
627bb6fb
<?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
...
...
This diff is collapsed.
Click to expand it.
include/class.client.php
+
3
−
0
View file @
627bb6fb
...
@@ -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();
*/
}
}
?>
?>
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment