feat: move stream stats status to pref table
This commit is contained in:
parent
2b533d4724
commit
406d42323a
7 changed files with 57 additions and 35 deletions
|
@ -1389,8 +1389,8 @@ class ApiController extends Zend_Controller_Action
|
|||
return;
|
||||
}
|
||||
|
||||
foreach ($data as $k => $v) {
|
||||
Application_Model_StreamSetting::SetListenerStatError($k, $v);
|
||||
foreach ($data as $stream_id => $status) {
|
||||
Application_Model_Preference::SetListenerStatError($stream_id, $status);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue