mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-06 19:53:56 +00:00
Use the settings class
This commit is contained in:
@@ -44,8 +44,11 @@
|
|||||||
//define variable
|
//define variable
|
||||||
$search = '';
|
$search = '';
|
||||||
|
|
||||||
|
//add the settings object
|
||||||
|
$settings = new settings(["domain_uuid" => $_SESSION['domain_uuid'], "user_uuid" => $_SESSION['user_uuid']]);
|
||||||
|
|
||||||
//set from session variables
|
//set from session variables
|
||||||
$list_row_edit_button = !empty($_SESSION['theme']['list_row_edit_button']['boolean']) ? $_SESSION['theme']['list_row_edit_button']['boolean'] : 'false';
|
$list_row_edit_button = $settings->get('theme', 'list_row_edit_button', 'false');
|
||||||
|
|
||||||
//get the http post data
|
//get the http post data
|
||||||
if (!empty($_POST['access_controls'])) {
|
if (!empty($_POST['access_controls'])) {
|
||||||
|
|||||||
Reference in New Issue
Block a user