mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-16 14:33:14 +00:00
Move substituion logger from class method to controllers
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user