Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mahara
mahara
Commits
c382be05
Commit
c382be05
authored
Sep 23, 2016
by
Son Nguyen
Committed by
Gerrit Code Review
Sep 23, 2016
Browse files
Merge "Bug 1626329: Wrapping table name in curly brackets"
parents
c444d616
58abb86f
Changes
1
Hide whitespace changes
Inline
Side-by-side
htdocs/auth/saml/lib.php
View file @
c382be05
...
...
@@ -300,7 +300,7 @@ class PluginAuthSaml extends PluginAuth {
private
static
function
create_certificates
(
$numberofdays
=
3650
)
{
global
$CFG
;
// Get the details of the first site admin and use it for setting up the certificate
$userid
=
get_record_sql
(
'SELECT id FROM usr WHERE admin = 1 AND deleted = 0 ORDER BY id LIMIT 1'
,
array
());
$userid
=
get_record_sql
(
'SELECT id FROM
{
usr
}
WHERE admin = 1 AND deleted = 0 ORDER BY id LIMIT 1'
,
array
());
$id
=
$userid
->
id
;
$user
=
new
User
;
$user
->
find_by_id
(
$id
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment