Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
NMC-PHP-Framework
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
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
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
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
UNL Information Services
NMC-PHP-Framework
Commits
db61b81f
Commit
db61b81f
authored
11 years ago
by
Tim Steiner
Browse files
Options
Downloads
Patches
Plain Diff
Remove some old code that was triggering needless warnings.
parent
942c6bab
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
library/Unl/Cas.php
+1
-19
1 addition, 19 deletions
library/Unl/Cas.php
with
1 addition
and
19 deletions
library/Unl/Cas.php
+
1
−
19
View file @
db61b81f
...
...
@@ -86,29 +86,11 @@ class Unl_Cas
/**
* Set the service url
*
* This function appends all get variables but strips out the ticket
* The ticket parameter is appended by the CAS server, if it is left
* in the service URL will be different from the one sent to the CAS
* server. Because of this, authentication will fail.
*
* @param string $serviceUrl
*/
public
function
setServiceUrl
(
$serviceUrl
)
{
$params
=
array
();
$paramString
=
""
;
if
(
sizeof
(
$_GET
)
>
0
)
{
foreach
(
$_GET
as
$key
=>
$value
)
{
if
(
$key
!=
"ticket"
)
{
$params
[]
=
$key
.
(
$value
!=
""
?
"="
.
$value
:
""
);
}
}
if
(
sizeof
(
$params
)
>
0
){
$paramString
=
"?"
.
implode
(
"&"
,
$params
);
}
}
$paramString
=
''
;
$this
->
_serviceUrl
=
$serviceUrl
.
$paramString
;
$this
->
_serviceUrl
=
$serviceUrl
;
}
/**
...
...
This diff is collapsed.
Click to expand it.
Eric Rasmussen
@erasmussen2
mentioned in issue
#1
·
4 years ago
mentioned in issue
#1
mentioned in issue #1
Toggle commit list
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