summaryrefslogtreecommitdiff
path: root/modules/rest/helpers/rest_event.php
diff options
context:
space:
mode:
Diffstat (limited to 'modules/rest/helpers/rest_event.php')
-rw-r--r--modules/rest/helpers/rest_event.php9
1 files changed, 1 insertions, 8 deletions
diff --git a/modules/rest/helpers/rest_event.php b/modules/rest/helpers/rest_event.php
index f23b9a58..d8c69e94 100644
--- a/modules/rest/helpers/rest_event.php
+++ b/modules/rest/helpers/rest_event.php
@@ -55,13 +55,6 @@ class rest_event {
}
/**
- * Called when user is editing their own form
- */
- static function user_edit_form($user, $form) {
- self::_get_access_key_form($user, $form);
- }
-
- /**
* Get the form fields for user edit
*/
static function _get_access_key_form($user, $form) {
@@ -104,6 +97,6 @@ class rest_event {
$key->save();
}
$view->rest_key = $key->access_key;
- $data->content[] = (object)array("title" => t("REST api"), "view" => $view);
+ $data->content[] = (object)array("title" => t("REST API"), "view" => $view);
}
}