summaryrefslogtreecommitdiffstats
path: root/apps/files/js/timezone.js
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files/js/timezone.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