Commit 2c291182 authored by anthonylindsay's avatar anthonylindsay

Removed unnecessary install function.

parent 51388dad
......@@ -6,26 +6,6 @@
* Includes various update functions for managing configuration deployment.
*/
/**
* Implements hook_install().
*/
function commerce_popular_products_install() {
$updates = drupal_get_schema_versions('commerce_popular_products');
if (!empty($updates)) {
foreach ($updates as $version) {
$function = 'commerce_popular_products_update_' . $version;
if (function_exists($function)) {
$ret = $function();
foreach ($ret as $id => $value) {
if (!empty($value['query'])) {
$error = ($value['success']) ? 'status' : 'error';
drupal_set_message(check_plain($value['query']), $error);
}
}
}
}
}
}
/**
* Implements hook_uninstall().
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment