summaryrefslogtreecommitdiff
path: root/modules/system/system.admin.inc
diff options
context:
space:
mode:
Diffstat (limited to 'modules/system/system.admin.inc')
-rw-r--r--modules/system/system.admin.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/system/system.admin.inc b/modules/system/system.admin.inc
index ec20138a1..9722664c6 100644
--- a/modules/system/system.admin.inc
+++ b/modules/system/system.admin.inc
@@ -2928,7 +2928,7 @@ function system_actions_manage_form_submit($form, &$form_state) {
* on our elements.
*
* @param $action
- * md5 hash of an action ID or an integer. If it is an md5 hash, we are
+ * Hash of an action ID or an integer. If it is a hash, we are
* creating a new instance. If it is an integer, we are editing an existing
* instance.
* @return
@@ -2953,7 +2953,7 @@ function system_actions_configure($form, &$form_state, $action = NULL) {
$edit['actions_label'] = $data->label;
$edit['actions_type'] = $data->type;
$function = $data->callback;
- $action = md5($data->callback);
+ $action = drupal_hash_base64($data->callback);
$params = unserialize($data->parameters);
if ($params) {
foreach ($params as $name => $val) {