function DatabaseTasks::fail
Assert test as failed.
7 calls to DatabaseTasks::fail()
- DatabaseTasks::checkEngineVersion in includes/
install.inc - Check the engine version.
- DatabaseTasks::connect in includes/
install.inc - Check if we can connect to the database.
- DatabaseTasks::runTestQuery in includes/
install.inc - Run SQL tests to ensure the database can execute commands with the current user.
- DatabaseTasks_pgsql::checkBinaryOutput in includes/
database/ pgsql/ install.inc - Check Binary Output.
- DatabaseTasks_pgsql::checkEncoding in includes/
database/ pgsql/ install.inc - Check encoding is UTF8.
File
-
includes/
install.inc, line 360
Class
- DatabaseTasks
- Database installer structure.
Code
protected function fail($message) {
$this->results[$message] = FALSE;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.