mirror of
https://github.com/LdesignMedia/moodle-availability_ipaddress.git
synced 2026-05-16 21:41:28 +02:00
Update #86c8jzuvd - Moodle code style followed
This commit is contained in:
@@ -29,7 +29,6 @@ defined('MOODLE_INTERNAL') || die();
|
||||
global $ADMIN;
|
||||
|
||||
if ($hassiteconfig) {
|
||||
|
||||
// Add external page for managing IP ranges.
|
||||
$ADMIN->add(
|
||||
'availabilitysettings',
|
||||
@@ -38,7 +37,8 @@ if ($hassiteconfig) {
|
||||
get_string('setting:manage_predefined_ranges', 'availability_ipaddress'),
|
||||
new moodle_url('/availability/condition/ipaddress/manage_ranges.php'),
|
||||
'moodle/site:config'
|
||||
));
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
// Set the visible name of auto generated settings page to empty string,
|
||||
|
||||
Reference in New Issue
Block a user