aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Jardine <kevinjardine@yahoo.com>2012-07-22 13:24:48 +0200
committerKevin Jardine <kevinjardine@yahoo.com>2012-07-22 13:24:48 +0200
commit5d0b300bd5c7603a94abc7c53b4144b53b9dd89f (patch)
treeb98bbb53d5644173251bb11b81851e58f6575aee
parentd4f4f93ff198915232d6ac575cc63e931dfcd0d8 (diff)
downloadelgg-5d0b300bd5c7603a94abc7c53b4144b53b9dd89f.tar.gz
elgg-5d0b300bd5c7603a94abc7c53b4144b53b9dd89f.tar.bz2
add button always appears, even for event polls, fixes issue #37
-rw-r--r--models/model.php1
1 files changed, 0 insertions, 1 deletions
diff --git a/models/model.php b/models/model.php
index 13fe907de..7d0d06a3f 100644
--- a/models/model.php
+++ b/models/model.php
@@ -1481,7 +1481,6 @@ function event_calendar_get_page_content_list($page_type,$container_guid,$start_
elgg_push_context('groups');
elgg_set_page_owner_guid($container_guid);
$user_guid = elgg_get_logged_in_user_guid();
- // TODO - ideally avoid the check on the event_poll plugin, perhaps by having event_poll remove the menu item
if(event_calendar_can_add($container_guid)) {
elgg_register_menu_item('title', array(
'name' => 'add',