Skip to content
Snippets Groups Projects
Commit 002ca866 authored by Dries Buytaert's avatar Dries Buytaert
Browse files

- Patch #861566 by p.brouwers: use uppercase for PHP constants, e.g. NULL, TRUE, FALSE.

parent 07600283
Branches
Tags
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -33,7 +33,7 @@ public function __construct(array $connection_options = array()) {
// PostgreSQL in trust mode doesn't require a password to be supplied.
if (empty($connection_options['password'])) {
$connection_options['password'] = null;
$connection_options['password'] = NULL;
}
$this->connectionOptions = $connection_options;
......
......@@ -1050,5 +1050,5 @@ function db_run_tasks($driver) {
$task_class = 'DatabaseTasks_' . $driver;
$DatabaseTasks = new $task_class();
$DatabaseTasks->runTasks();
return true;
return TRUE;
}
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment