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
0
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
6fdeac52
Commit
6fdeac52
authored
9 years ago
by
Tyler Antonio
Browse files
Options
Downloads
Patches
Plain Diff
Added more comments
parent
1a05dbf0
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/Metadata/MetaDataStorageHandlerPdo.php
+11
-1
11 additions, 1 deletion
lib/SimpleSAML/Metadata/MetaDataStorageHandlerPdo.php
with
11 additions
and
1 deletion
lib/SimpleSAML/Metadata/MetaDataStorageHandlerPdo.php
+
11
−
1
View file @
6fdeac52
...
...
@@ -170,6 +170,15 @@ class SimpleSAML_Metadata_MetaDataStorageHandlerPdo extends SimpleSAML_Metadata_
}
}
/**
* Replace the -'s to an _ in table names for Metadata sets
* since SQL does not allow a - in a table name.
*
* @param string $index Entity ID
* @param string $set The set to add the metadata to
* @param array $entityData Metadata
* @return bool True/False if entry was sucessfully added
*/
public
function
addEntry
(
$index
,
$set
,
$entityData
)
{
assert
(
'is_string($index)'
);
assert
(
'is_string($set)'
);
...
...
@@ -193,7 +202,8 @@ class SimpleSAML_Metadata_MetaDataStorageHandlerPdo extends SimpleSAML_Metadata_
}
/**
* Replace the -'s to an _ in table names since SQL does not allow a - in a table name.
* Replace the -'s to an _ in table names for Metadata sets
* since SQL does not allow a - in a table name.
*
* @param string $table Table
* @return string Replaced table name
...
...
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