Skip to content

Commit

Permalink
MDL-67523 core_admin: do not require admin to view category
Browse files Browse the repository at this point in the history
Revert changes from MDL-58439 (in this file only)
  • Loading branch information
marinaglancy committed Dec 19, 2019
1 parent 3bfdc05 commit 86d4aca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion admin/category.php
Expand Up @@ -30,7 +30,7 @@
$return = optional_param('return','', PARAM_ALPHA);
$adminediting = optional_param('adminedit', -1, PARAM_BOOL);

require_admin();
require_login(0, false);
$PAGE->set_context(context_system::instance());
$PAGE->set_url('/admin/category.php', array('category' => $category));
$PAGE->set_pagetype('admin-setting-' . $category);
Expand Down

0 comments on commit 86d4aca

Please sign in to comment.