You are here

protected function DatabaseTasks::fail in Drupal 7

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.

... See full list

File

includes/install.inc, line 360
API functions for installing modules and themes.

Class

DatabaseTasks
Database installer structure.

Code

protected function fail($message) {
  $this->results[$message] = FALSE;
}