Commit 3778367a authored by Richard Mansfield's avatar Richard Mansfield
Browse files

Count institutions without users when getting authinstances

parent 633557d4
......@@ -212,7 +212,7 @@ if ($institution || $add) {
);
}
if (!$add && empty($inuse)) {
if (!$add && empty($authinstances)) {
if ($USER->get('admin')) {
$smarty->assign('noauthmessage', get_string('adminnoauthpluginforinstitution', 'admin'));
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment