aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-03-03 16:06:23 +0000
committermarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-03-03 16:06:23 +0000
commita85a44570658cbd04f248d38941f31ec09f7e8fc (patch)
treeb9506b39fc649c4b5ca6e33b336020255d4faa41
parent7702c81525fd1c85b1369e88de5a72ef1f812c1f (diff)
downloadelgg-a85a44570658cbd04f248d38941f31ec09f7e8fc.tar.gz
elgg-a85a44570658cbd04f248d38941f31ec09f7e8fc.tar.bz2
Removed utterly pointless lines
git-svn-id: https://code.elgg.org/elgg/trunk@3040 36083f99-b078-4883-b0ff-0f9b5a30f544
-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();
}