Merge branch 'devel' of dev.sourcefabric.org:airtime into devel
This commit is contained in:
commit
d534f22ce4
3 changed files with 45 additions and 18 deletions
|
@ -901,7 +901,7 @@ class ApiController extends Zend_Controller_Action
|
|||
|
||||
foreach ($data as $pair) {
|
||||
list($id, $gain) = $pair;
|
||||
|
||||
// TODO : move this code into model -- RG
|
||||
$file = Application_Model_StoredFile::Recall($p_id = $id)->getPropelOrm();
|
||||
$file->setDbReplayGain($gain);
|
||||
$file->save();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue