CC-5855: Output to zendlog when files are deleted from library

Added host name to log message
This commit is contained in:
drigato 2014-05-20 14:21:41 -04:00
parent f684ce4ab9
commit fb12ee7e54
1 changed files with 1 additions and 1 deletions

View File

@ -401,7 +401,7 @@ SQL;
}
}
Logging::info("User ".$user->getLogin()." is deleting file: ".$this->_file->getDbTrackTitle()." - file id: ".$this->_file->getDbId());
Logging::info($_SERVER["HTTP_HOST"].": 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();