Skip to content

Commit

Permalink
Simplify configuration of Diem event log
Browse files Browse the repository at this point in the history
  • Loading branch information
ornicar committed Apr 19, 2010
1 parent 95d33e9 commit e0e922f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions config/dmChessPluginConfiguration.class.php
Expand Up @@ -15,10 +15,10 @@ public function initialize()

public function listenToContextLoadedEvent(sfEvent $e)
{
$e->getSubject()->get('event_log')->setOption('ignore_models', array_merge($this->eventLog->getOption('ignore_models'), array(
$this->eventLog = $e->getSubject()->get('event_log')->mergeOption('ignore_models', array(
'DmChessGame',
'DmChessPlayer'
)));
));

$e->getSubject()->get('dm_chess_ajax_cache')->connect();

Expand Down

0 comments on commit e0e922f

Please sign in to comment.