Commit 90a44b53 authored by Robert Lyon's avatar Robert Lyon Committed by Cecilia Vela Gurovic

Bug 1798217: Hiding 'tags' sideblock from admin section

behatnotneeded

Change-Id: Ia902165c8149db90b3b7affb4aa947397137a038
Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>
(cherry picked from commit 15bf6dd4)
parent 5ab841bb
......@@ -810,7 +810,7 @@ EOF;
if ($USER->is_logged_in() && defined('MENUITEM') &&
(
substr(MENUITEM, 0, 7) == 'profile' ||
in_array(substr(MENUITEM, 0, 6), array('create', 'engage', 'manage'))
in_array(substr(MENUITEM, 0, 7), array('create/', 'engage/', 'manage/'))
)) {
if (get_config('showselfsearchsideblock')) {
$sideblocks[] = array(
......
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