You are here

public function DatabaseTasks_sqlsrv::__construct in Drupal driver for SQL Server and SQL Azure 7

Same name and namespace in other branches
  1. 7.3 sqlsrv/install.inc \DatabaseTasks_sqlsrv::__construct()
  2. 7.2 sqlsrv/install.inc \DatabaseTasks_sqlsrv::__construct()

File

sqlsrv/install.inc, line 13

Class

DatabaseTasks_sqlsrv

Code

public function __construct() {

  // Core tasks are using a table without primary key, they need to be
  // completely rewritten.
  $this->tasks = array();

  // Create the user-defined functions we need to be Drupal friendly.
  $this->tasks[] = array(
    'function' => 'initializeDatabase',
    'arguments' => array(),
  );
}