diff options
author | Kevin Jardine <kevinjardine@yahoo.com> | 2012-07-22 13:24:48 +0200 |
---|---|---|
committer | Kevin Jardine <kevinjardine@yahoo.com> | 2012-07-22 13:24:48 +0200 |
commit | 5d0b300bd5c7603a94abc7c53b4144b53b9dd89f (patch) | |
tree | b98bbb53d5644173251bb11b81851e58f6575aee /models/model.php | |
parent | d4f4f93ff198915232d6ac575cc63e931dfcd0d8 (diff) | |
download | elgg-5d0b300bd5c7603a94abc7c53b4144b53b9dd89f.tar.gz elgg-5d0b300bd5c7603a94abc7c53b4144b53b9dd89f.tar.bz2 |
add button always appears, even for event polls, fixes issue #37
Diffstat (limited to 'models/model.php')
-rw-r--r-- | models/model.php | 1 |
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', |