Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
mahara
mahara
Commits
c56b5ebb
Commit
c56b5ebb
authored
Jun 30, 2007
by
Donal McMullan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Popluate application table on upgrade
parent
f8f97f42
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
6 deletions
+13
-6
htdocs/lib/db/upgrade.php
htdocs/lib/db/upgrade.php
+13
-6
No files found.
htdocs/lib/db/upgrade.php
View file @
c56b5ebb
...
...
@@ -392,12 +392,19 @@ function xmldb_core_upgrade($oldversion=0) {
add_key
(
$table
,
$key
);
$record
=
new
stdClass
();
$record
->
instancename
=
'internal'
;
$record
->
priority
=
'1'
;
$record
->
institution
=
'mahara'
;
$record
->
authname
=
'internal'
;
// insert_record('auth_instance',$record);
$record
->
name
=
'mahara'
;
$record
->
displayname
=
'Mahara'
;
$record
->
xmlrpcserverurl
=
'/api/xmlrpc/server.php'
;
$record
->
ssolandurl
=
'/auth/xmlrpc/land.php'
;
insert_record
(
'application'
,
$record
);
$record
->
name
=
'moodle'
;
$record
->
displayname
=
'Moodle'
;
$record
->
xmlrpcserverurl
=
'/mnet/xmlrpc/server.php'
;
$record
->
ssolandurl
=
'/auth/mnet/land.php'
;
insert_record
(
'application'
,
$record
);
}
return
$status
;
...
...
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