mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
Remove redundant database instances (#7535)
This commit is contained in:
@@ -136,9 +136,6 @@
|
||||
$p->add('email_log_add', 'temp');
|
||||
|
||||
//execute insert
|
||||
$database = new database;
|
||||
$database->app_name = 'v_mailto';
|
||||
$database->app_uuid = 'ba41954e-9d21-4b10-bbc2-fa5ceabeb184';
|
||||
$database->save($array);
|
||||
unset($array);
|
||||
|
||||
@@ -171,7 +168,6 @@
|
||||
|
||||
$sql = "select email from v_email_logs where email_log_uuid = :email_log_uuid ";
|
||||
$parameters['email_log_uuid'] = $email_log_uuid;
|
||||
$database = new database;
|
||||
$email = $database->select($sql, $parameters, 'column');
|
||||
echo $email;
|
||||
unset($sql, $parameters, $email);
|
||||
|
||||
Reference in New Issue
Block a user