feat(legacy): remove db allowed_cors_origins preference (#2095)

- Remove after deprecation in eb8e7b3415
This commit is contained in:
Jonas L 2022-10-11 13:38:31 +02:00 committed by GitHub
parent e54c8d22e1
commit cff98f2d23
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 28 additions and 60 deletions

View file

@ -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());