Merge branch 'cc-5709-airtime-analyzer' into cc-5709-airtime-analyzer-saas
This commit is contained in:
commit
f684ce4ab9
|
@ -78,8 +78,6 @@ class LibraryController extends Zend_Controller_Action
|
||||||
$obj_sess = new Zend_Session_Namespace(UI_PLAYLISTCONTROLLER_OBJ_SESSNAME);
|
$obj_sess = new Zend_Session_Namespace(UI_PLAYLISTCONTROLLER_OBJ_SESSNAME);
|
||||||
if (isset($obj_sess->id)) {
|
if (isset($obj_sess->id)) {
|
||||||
$objInfo = Application_Model_Library::getObjInfo($obj_sess->type);
|
$objInfo = Application_Model_Library::getObjInfo($obj_sess->type);
|
||||||
Logging::info($obj_sess->id);
|
|
||||||
Logging::info($obj_sess->type);
|
|
||||||
|
|
||||||
$objInfo = Application_Model_Library::getObjInfo($obj_sess->type);
|
$objInfo = Application_Model_Library::getObjInfo($obj_sess->type);
|
||||||
$obj = new $objInfo['className']($obj_sess->id);
|
$obj = new $objInfo['className']($obj_sess->id);
|
||||||
|
|
|
@ -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
|
// set hidden flag to true
|
||||||
$this->_file->setDbHidden(true);
|
$this->_file->setDbHidden(true);
|
||||||
$this->_file->save();
|
$this->_file->save();
|
||||||
|
|
Loading…
Reference in New Issue