function simple_access_update_5 in Simple Access 6.2
Same name and namespace in other branches
- 5.2 simple_access.install \simple_access_update_5()
Updates
File
- ./
simple_access.install, line 172 - Installation for Simple Access
Code
function simple_access_update_5() {
$table = drupal_get_schema('simple_access_owner');
db_create_table($ret, 'simple_access_owner', $table);
$ret[] = update_sql('INSERT INTO {simple_access_owner} SELECT DISTINCT(nid), 1, 1, 1 FROM {simple_access_node}');
return $ret;
}