You are here

function spaces_ui_install in Spaces 5

Same name and namespace in other branches
  1. 5.2 spaces_ui.install \spaces_ui_install()

Implementaton of hook_install().

File

./spaces_ui.install, line 6

Code

function spaces_ui_install() {
  switch ($GLOBALS['db_type']) {
    case 'mysqli':
    case 'mysql':
      db_query("CREATE TABLE {spaces_features_ui} (\n                feature varchar(30) NOT NULL default '',\n                label varchar(255) NOT NULL default '',\n                description longtext,\n                PRIMARY KEY (feature)\n                ) /*!40100 DEFAULT CHARACTER SET UTF8 */");
  }
}