summaryrefslogtreecommitdiff
path: root/modules/user/user.js
diff options
context:
space:
mode:
Diffstat (limited to 'modules/user/user.js')
-rw-r--r--modules/user/user.js8
1 files changed, 0 insertions, 8 deletions
diff --git a/modules/user/user.js b/modules/user/user.js
index 173a4879b..926a92137 100644
--- a/modules/user/user.js
+++ b/modules/user/user.js
@@ -160,14 +160,6 @@ Drupal.evaluatePasswordStrength = function (password) {
};
/**
- * Set the client's system timezone as default values of form fields.
- */
-Drupal.setDefaultTimezone = function() {
- var offset = new Date().getTimezoneOffset() * -60;
- $("#edit-date-default-timezone, #edit-user-register-timezone").val(offset);
-};
-
-/**
* On the admin/user/settings page, conditionally show all of the
* picture-related form elements depending on the current value of the
* "Picture support" radio buttons.