Remove database app_name and app_uuid (#7562)

- Remove database app_name, app_uuid
  - This is handled automatically by the database class
- Remove redundant database::new()
This commit is contained in:
FusionPBX
2025-10-09 17:54:05 -06:00
committed by GitHub
parent d59eab1f94
commit 76e2e7d3b7
109 changed files with 27 additions and 425 deletions
-4
View File
@@ -86,8 +86,6 @@ if ($domains_processed == 1) {
$p = permissions::new();
$p->add('phrase_detail_edit', 'temp');
$database->app_name = 'phrases';
$database->app_uuid = '5c6f597c-9b78-11e4-89d3-123b93f75cba';
$database->save($array, false);
unset($array);
@@ -122,8 +120,6 @@ if ($domains_processed == 1) {
$p = permissions::new();
$p->add('phrase_detail_edit', 'temp');
$database->app_name = 'phrases';
$database->app_uuid = '5c6f597c-9b78-11e4-89d3-123b93f75cba';
$database->save($array, false);
unset($array);
-4
View File
@@ -163,8 +163,6 @@
$p = permissions::new();
$p->add('phrase_detail_add', 'temp');
$database->app_name = 'phrases';
$database->app_uuid = '5c6f597c-9b78-11e4-89d3-123b93f75cba';
$database->save($array);
unset($array);
@@ -226,8 +224,6 @@
$p = permissions::new();
$p->add('phrase_detail_add', 'temp');
$database->app_name = 'phrases';
$database->app_uuid = '5c6f597c-9b78-11e4-89d3-123b93f75cba';
$database->save($array);
unset($array);