Skip to content

Commit

Permalink
Filtering non-foobar events
Browse files Browse the repository at this point in the history
  • Loading branch information
xdissent committed Aug 8, 2011
1 parent 407129b commit daf1c6b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions events.php
Expand Up @@ -14,6 +14,11 @@

$data = array();
foreach ($evts as $id => $ev) {

if ($ev->getProperty('organizer') !== 'Foobar') {
continue;
}

$jsEvt = array(
'id' => ($id+1),
'title' => $ev->getProperty('summary'),
Expand Down

0 comments on commit daf1c6b

Please sign in to comment.