From fb12ee7e54edd78eff2412308e1ac0f005262998 Mon Sep 17 00:00:00 2001 From: drigato Date: Tue, 20 May 2014 14:21:41 -0400 Subject: [PATCH] CC-5855: Output to zendlog when files are deleted from library Added host name to log message --- airtime_mvc/application/models/StoredFile.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/airtime_mvc/application/models/StoredFile.php b/airtime_mvc/application/models/StoredFile.php index 8569e07b2..563319c86 100644 --- a/airtime_mvc/application/models/StoredFile.php +++ b/airtime_mvc/application/models/StoredFile.php @@ -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();