function autoban_update_7001 in Automatic IP ban (Autoban) 7
Add a column referer.
File
- ./
autoban.install, line 85 - Installation functions for autoban module.
Code
function autoban_update_7001() {
if (db_field_exists('autoban', 'referer')) {
return;
}
$schema = array(
'type' => 'text',
'size' => 'big',
'description' => 'URL of referring page.',
);
db_add_field('autoban', 'referer', $schema);
}