CC-5855: Output to zendlog when files are deleted from library
This commit is contained in:
parent
691841eba4
commit
4cdd855a21
2 changed files with 1 additions and 3 deletions
|
@ -401,7 +401,7 @@ SQL;
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
Logging::info("User ".$user->getLogin()." is deleting file: ".$this->_file->getDbTrackTitle()." - file id: ".$this->_file->getDbId());
|
||||
// set hidden flag to true
|
||||
$this->_file->setDbHidden(true);
|
||||
$this->_file->save();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue