feat(legacy): remove db allowed_cors_origins preference (#2095)
- Remove after deprecation in eb8e7b3415
This commit is contained in:
parent
e54c8d22e1
commit
cff98f2d23
7 changed files with 28 additions and 60 deletions
|
@ -171,13 +171,6 @@ class Application_Form_GeneralPreferences extends Zend_Form_SubForm
|
|||
]);
|
||||
$this->addElement($third_party_api);
|
||||
|
||||
$allowedCorsUrlsValue = Application_Model_Preference::GetAllowedCorsUrls();
|
||||
$allowedCorsUrls = new Zend_Form_Element_Textarea('allowedCorsUrls');
|
||||
$allowedCorsUrls->setLabel(_('Allowed CORS URLs (DEPRECATED)'));
|
||||
$allowedCorsUrls->setDescription(_('Remote URLs that are allowed to access this LibreTime instance in a browser. One URL per line. (DEPRECATED: Allowed CORS origins configuration moved to the configuration file.)'));
|
||||
$allowedCorsUrls->setValue($allowedCorsUrlsValue);
|
||||
$this->addElement($allowedCorsUrls);
|
||||
|
||||
$locale = new Zend_Form_Element_Select('locale');
|
||||
$locale->setLabel(_('Default Language'));
|
||||
$locale->setMultiOptions(Application_Model_Locale::getLocales());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue