From 025ef0ed27e50fd942bffe90b0bfd2408f2c6164 Mon Sep 17 00:00:00 2001 From: Martin Konecny Date: Tue, 15 May 2012 12:35:02 -0400 Subject: [PATCH] CC-3826: Couldn't find constant MDATA_KEY_RECORD_DATE -fixed --- airtime_mvc/application/configs/constants.php | 1 + airtime_mvc/application/controllers/ApiController.php | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/airtime_mvc/application/configs/constants.php b/airtime_mvc/application/configs/constants.php index 1a39ddb43..db3660342 100644 --- a/airtime_mvc/application/configs/constants.php +++ b/airtime_mvc/application/configs/constants.php @@ -26,6 +26,7 @@ define('MDATA_KEY_ENCODER', 'encoded_by'); define('MDATA_KEY_ISRC', 'isrc_number'); define('MDATA_KEY_COPYRIGHT', 'copyright'); define('MDATA_KEY_YEAR', 'year'); +define('MDATA_KEY_RECORD_DATE', 'year'); define('MDATA_KEY_BPM', 'bpm'); define('MDATA_KEY_TRACKNUMBER', 'track_number'); define('MDATA_KEY_CONDUCTOR', 'conductor'); diff --git a/airtime_mvc/application/controllers/ApiController.php b/airtime_mvc/application/controllers/ApiController.php index a9dda358b..f7fd4ce8e 100644 --- a/airtime_mvc/application/controllers/ApiController.php +++ b/airtime_mvc/application/controllers/ApiController.php @@ -603,7 +603,6 @@ class ApiController extends Zend_Controller_Action $filepath = $md['MDATA_KEY_FILEPATH']; $filepath = str_replace("\\", "", $filepath); $file->setFilePath($filepath); - //$file->setMetadata($md); } } else if ($mode == "delete") {