more module updates
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
*/
|
||||
|
||||
/**
|
||||
* Implements hook_install().
|
||||
* Implements hook_schema().
|
||||
*/
|
||||
function browscap_schema() {
|
||||
$schema['browscap'] = array(
|
||||
@@ -32,10 +32,10 @@ function browscap_schema() {
|
||||
* Implements hook_install().
|
||||
*/
|
||||
function browscap_install() {
|
||||
// Update the browscap information
|
||||
// Update the browscap information.
|
||||
_browscap_import();
|
||||
|
||||
// Record when the browscap information was updated
|
||||
// Record when the browscap information was updated.
|
||||
variable_set('browscap_imported', REQUEST_TIME);
|
||||
}
|
||||
|
||||
@@ -48,3 +48,10 @@ function browscap_uninstall() {
|
||||
variable_del('browscap_enable_automatic_updates');
|
||||
variable_del('browscap_automatic_updates_timer');
|
||||
}
|
||||
|
||||
/**
|
||||
* Drop the unused Browscap 1.x statistics table.
|
||||
*/
|
||||
function browscap_update_7200() {
|
||||
db_drop_table('browscap_statistics');
|
||||
}
|
||||
|
Reference in New Issue
Block a user