mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-03-09 18:18:53 +00:00
Unset the prepared statements used in the app_defaults.php files.
This commit is contained in:
@@ -49,6 +49,7 @@ if ($domains_processed == 1) {
|
||||
$db->exec(check_sql($sql));
|
||||
unset($sql);
|
||||
}
|
||||
unset($prep_statement, $result);
|
||||
|
||||
//replace the backslash with a forward slash
|
||||
$db_path = str_replace("\\", "/", $db_path);
|
||||
@@ -62,6 +63,7 @@ if ($domains_processed == 1) {
|
||||
if ($prep_statement) {
|
||||
$prep_statement->execute();
|
||||
$row = $prep_statement->fetch(PDO::FETCH_ASSOC);
|
||||
unset($prep_statement);
|
||||
if ($row['num_rows'] > 0) {
|
||||
$odbc_num_rows = $row['num_rows'];
|
||||
|
||||
@@ -95,6 +97,7 @@ if ($domains_processed == 1) {
|
||||
foreach ($result as &$row) {
|
||||
$recordings_dir = $row["default_setting_value"];
|
||||
}
|
||||
unset($prep_statement, $result);
|
||||
}
|
||||
|
||||
//config.lua
|
||||
|
||||
Reference in New Issue
Block a user