Skip to content

Commit

Permalink
MDL-72119 admin: Fix warning on installation of new site.
Browse files Browse the repository at this point in the history
  • Loading branch information
ilyatregubov committed Sep 14, 2021
1 parent 64b17c4 commit 1177078
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion admin/settings/messaging.php
Expand Up @@ -27,7 +27,7 @@
$temp = new admin_settingpage('messages',
new lang_string('messagingssettings', 'admin'),
'moodle/site:config',
!$CFG->messaging
empty($CFG->messaging)
);

$temp->add(new admin_setting_configcheckbox('messagingallusers',
Expand Down

0 comments on commit 1177078

Please sign in to comment.