aboutsummaryrefslogtreecommitdiff
path: root/engine
diff options
context:
space:
mode:
Diffstat (limited to 'engine')
-rw-r--r--engine/lib/elgglib.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/engine/lib/elgglib.php b/engine/lib/elgglib.php
index ecc0d0a49..2ae431790 100644
--- a/engine/lib/elgglib.php
+++ b/engine/lib/elgglib.php
@@ -1307,9 +1307,7 @@
if (!isset($CONFIG->menucontexts)) {
$CONFIG->menucontexts = array();
}
- if (empty($menu)) {
- get_plugin_name();
- }
+
if (empty($context)) {
$context = get_plugin_name();
}