Remove the timezone from now()

This commit is contained in:
FusionPBX 2021-11-20 11:48:22 -07:00 committed by GitHub
parent 06f580ab05
commit 2a90732936
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -200,7 +200,7 @@ if (!function_exists('fax_enqueue')) {
$dial_string .= "fax_task_uuid='".$fax_task_uuid."',";
$description = ''; //! @todo add description
if ($db_type == "pgsql") {
$date_utc_now_sql = "NOW() at time zone 'utc'";
$date_utc_now_sql = "NOW()";
}
if ($db_type == "mysql") {
$date_utc_now_sql = "UTC_TIMESTAMP()";
@ -751,4 +751,4 @@ if (!function_exists('fax_split_dtmf')) {
fclose($fp);
}
?>
?>