summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Weber2013-01-27 07:08:16 (GMT)
committer Alex Weber2013-01-27 07:08:16 (GMT)
commit8e492256aa34fc94063826a39f9f5d75c5ae3bd0 (patch)
treec9d283c6b2da4c32807dd245d75a8d6f51d2f447
parent57e7abbc5b8df37de7e0a01690dbbd26de2db035 (diff)
fix drupal_alter() implementations
-rw-r--r--drop_jobs.profile4
-rw-r--r--modules/custom/drop_jobs_recommendation/drop_jobs_recommendation.module2
2 files changed, 3 insertions, 3 deletions
diff --git a/drop_jobs.profile b/drop_jobs.profile
index ac4846a..e6423f1 100644
--- a/drop_jobs.profile
+++ b/drop_jobs.profile
@@ -238,7 +238,7 @@ function drop_jobs_core_features() {
);
// Allow list of core features to be altered.
- drupal_alter(array('drop_jobs_core_features'), $core_features);
+ drupal_alter('drop_jobs_core_features', $core_features);
return $core_features;
}
@@ -287,7 +287,7 @@ function drop_jobs_get_search_providers() {
);
// Allow other modules to change this.
- drupal_alter(array('drop_jobs_search_providers'), $search_providers);
+ drupal_alter('drop_jobs_search_providers', $search_providers);
}
return $search_providers;
diff --git a/modules/custom/drop_jobs_recommendation/drop_jobs_recommendation.module b/modules/custom/drop_jobs_recommendation/drop_jobs_recommendation.module
index 089c0d7..ce427af 100644
--- a/modules/custom/drop_jobs_recommendation/drop_jobs_recommendation.module
+++ b/modules/custom/drop_jobs_recommendation/drop_jobs_recommendation.module
@@ -404,7 +404,7 @@ function drop_jobs_recommendation_map() {
$map['title'] = 'field_candidate_pref_title';
// Allow the map to be altered.
- drupal_alter(array('drop_jobs_recommendation'), $map);
+ drupal_alter('drop_jobs_recommendation', $map);
return $map;
}