Move substituion logger from class method to controllers

This commit is contained in:
Nicolas Le Goff
2013-08-08 13:00:16 +02:00
parent 6e74d4118a
commit 47bb3331dd
4 changed files with 20 additions and 5 deletions

View File

@@ -1036,11 +1036,6 @@ class record_adapter implements record_Interface, cache_cacheableInterface
$this->rebuild_subdefs();
}
$type = $name == 'document' ? 'HD' : $name;
$this->app['phraseanet.logger']($this->get_databox())
->log($this, Session_Logger::EVENT_SUBSTITUTE, $type, '');
return $this;
}