function fb_app_update_6101 in Drupal for Facebook 6.3
Same name and namespace in other branches
- 6.2 fb_app.install \fb_app_update_6101()
File
- ./
fb_app.install, line 103 - Installs database tables and settings required by fb_app module.
Code
function fb_app_update_6101() {
$ret = array();
// The rid field is no longer used, and causes problems for databases in strict mode.
db_drop_field($ret, 'fb_app', 'rid');
// Other columns have been moved to fb_user.module, and are stored in data
db_drop_field($ret, 'fb_app', 'require_login');
db_drop_field($ret, 'fb_app', 'create_account');
db_drop_field($ret, 'fb_app', 'unique_account');
// canvas moved to fb_canvas.module
db_drop_field($ret, 'fb_app', 'canvas');
// BAD IDEA! see update 6202
return $ret;
}