summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnthony Lindsay2012-09-14 10:16:04 (GMT)
committerAnthony Lindsay2012-09-14 10:16:04 (GMT)
commit2c291182f0ead3ec8bc02945b637aba2047ef10d (patch)
tree5f7149fea046267c24d8a0f0fb704201b8384081
parent51388dad37e3523794149e3ce4b1781f5bc5e7c2 (diff)
Removed unnecessary install function.
-rw-r--r--commerce_popular_products.install20
1 files changed, 0 insertions, 20 deletions
diff --git a/commerce_popular_products.install b/commerce_popular_products.install
index f369503..5991c72 100644
--- a/commerce_popular_products.install
+++ b/commerce_popular_products.install
@@ -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().