diff --git a/config/dmChessPluginConfiguration.class.php b/config/dmChessPluginConfiguration.class.php index 331434c..00cb124 100755 --- a/config/dmChessPluginConfiguration.class.php +++ b/config/dmChessPluginConfiguration.class.php @@ -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();