aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/js
diff options
context:
space:
mode:
authorJan-Christoph Borchardt <hey@jancborchardt.net>2012-12-20 04:02:22 -0800
committerJan-Christoph Borchardt <hey@jancborchardt.net>2012-12-20 04:02:22 -0800
commit373b69d83505f2cf132139ad48fe6941b702b94a (patch)
treeb447a96705f07ed5353021172181713b4f03e13b /apps/files/js
parent8e44404ae0205b03478b0631dcfd7e701040980f (diff)
parenta1bf6b54e66b5d24c12ac5341ed1ff7e45017de6 (diff)
downloadnextcloud-server-373b69d83505f2cf132139ad48fe6941b702b94a.tar.gz
nextcloud-server-373b69d83505f2cf132139ad48fe6941b702b94a.zip
Merge pull request #974 from owncloud/fixing-120-master
setting the timezone is now part of the login process
Diffstat (limited to 'apps/files/js')
-rw-r--r--apps/files/js/timezone.js12
1 files changed, 0 insertions, 12 deletions
diff --git a/apps/files/js/timezone.js b/apps/files/js/timezone.js
deleted file mode 100644
index 4749417199d..00000000000
--- a/apps/files/js/timezone.js
+++ /dev/null
@@ -1,12 +0,0 @@
-//send the clients time zone to the server
-$(document).ready(function() {
- var visitortimezone = (-new Date().getTimezoneOffset()/60);
- $.ajax({
- type: "GET",
- url: OC.filePath('files', 'ajax', 'timezone.php'),
- data: 'time='+ visitortimezone,
- success: function(){
- location.reload();
- }
- });
-}); \ No newline at end of file