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
f39352d5
Commit
f39352d5
authored
Feb 23, 2009
by
Nigel McNie
Browse files
(#3152) Clear out lastauthinstance column when deleting institutions.
parent
4ac07636
Changes
1
Hide whitespace changes
Inline
Side-by-side
htdocs/admin/users/institutions.php
View file @
f39352d5
...
...
@@ -81,6 +81,7 @@ if ($institution || $add) {
db_begin
();
foreach
(
$authinstanceids
as
$id
)
{
delete_records
(
'auth_instance_config'
,
'instance'
,
$id
);
execute_sql
(
'UPDATE {usr} SET lastauthinstance = NULL WHERE lastauthinstance = ?'
,
array
(
$id
));
}
delete_records
(
'auth_instance'
,
'institution'
,
$values
[
'i'
]);
delete_records
(
'host'
,
'institution'
,
$values
[
'i'
]);
...
...
Write
Preview
Supports
Markdown
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