Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
simplesamlphp
Manage
Activity
Members
Labels
Plan
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Perun
Perun ProxyIdP
v1
simplesamlphp
Commits
6d1f59fe
Commit
6d1f59fe
authored
10 years ago
by
Jaime Perez Crespo
Browse files
Options
Downloads
Patches
Plain Diff
Schedule SimpleSAML_Utilities::fatalError() for removal and deprecate it.
parent
c8830716
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
lib/SimpleSAML/Utilities.php
+1
-14
1 addition, 14 deletions
lib/SimpleSAML/Utilities.php
with
1 addition
and
14 deletions
lib/SimpleSAML/Utilities.php
+
1
−
14
View file @
6d1f59fe
...
...
@@ -487,22 +487,9 @@ class SimpleSAML_Utilities {
/**
* Show and log fatal error message.
*
* This function logs a error message to the error log and shows the
* message to the user. Script execution terminates afterwards.
*
* The error code comes from the errors-dictionary. It can optionally include parameters, which
* will be substituted into the output string.
*
* @param string $trackId The trackid of the user, from $session->getTrackID().
* @param mixed $errorCode Either a string with the error code, or an array with the error code and
* additional parameters.
* @param Exception $e The exception which caused the error.
* @deprecated
* @deprecated This function will be removed in SSP 2.0. Please raise a SimpleSAML_Error_Error exception instead.
*/
public
static
function
fatalError
(
$trackId
=
'na'
,
$errorCode
=
null
,
Exception
$e
=
null
)
{
throw
new
SimpleSAML_Error_Error
(
$errorCode
,
$e
);
}
...
...
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