diff options
author | Kevin Jardine <kevinjardine@yahoo.com> | 2012-07-22 13:09:41 +0200 |
---|---|---|
committer | Kevin Jardine <kevinjardine@yahoo.com> | 2012-07-22 13:09:41 +0200 |
commit | d4f4f93ff198915232d6ac575cc63e931dfcd0d8 (patch) | |
tree | 8ce8d094c28d66263afec9cd55a687bcf154261d /models | |
parent | 43df50de769ce11dac12ebedef07c7c1a7e9b7ab (diff) | |
parent | 86d154541f9cf1de74f79cae6c1b05b3214bdca8 (diff) | |
download | elgg-d4f4f93ff198915232d6ac575cc63e931dfcd0d8.tar.gz elgg-d4f4f93ff198915232d6ac575cc63e931dfcd0d8.tar.bz2 |
Merge branch 'full' of github.com:kevinjardine/Elgg-Event-Calendar into full
Diffstat (limited to 'models')
-rw-r--r-- | models/model.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/models/model.php b/models/model.php index 8e82052ec..13fe907de 100644 --- a/models/model.php +++ b/models/model.php @@ -1150,12 +1150,12 @@ function event_calendar_security_fields() { return "__elgg_token=$token&__elgg_ts=$ts"; } -function event_calendar_get_events_for_group($group_guid) { +function event_calendar_get_events_for_group($group_guid, $limit = 0) { $options = array( 'type' => 'object', 'subtype' => 'event_calendar', 'container_guid' => $group_guid, - 'limit' => 0, + 'limit' => $limit, ); return elgg_get_entities($options); } |