Use the settings class get method

This commit is contained in:
FusionPBX
2025-08-26 13:02:14 -06:00
committed by GitHub
parent 8ac3b8e8d0
commit ccb4b2a5bf
30 changed files with 69 additions and 67 deletions

View File

@@ -227,7 +227,7 @@
$p->delete('extension_edit', 'temp');
//send feature event notify to the phone
if (filter_var($_SESSION['device']['feature_sync']['boolean'] ?? false, FILTER_VALIDATE_BOOL)) {
if ($settings->get('device', 'feature_sync', false)) {
foreach ($extensions as $uuid => $extension) {
$feature_event_notify = new feature_event_notify;
$feature_event_notify->domain_name = $_SESSION['domain_name'];