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:
@@ -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);
|
||||
|
||||
|
||||
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user