]> source.dussan.org Git - nextcloud-server.git/commitdiff
remove timezone.js
authorThomas Müller <thomas.mueller@tmit.eu>
Thu, 20 Dec 2012 10:14:21 +0000 (11:14 +0100)
committerThomas Müller <thomas.mueller@tmit.eu>
Thu, 20 Dec 2012 10:14:21 +0000 (11:14 +0100)
apps/files/js/timezone.js [deleted file]

diff --git a/apps/files/js/timezone.js b/apps/files/js/timezone.js
deleted file mode 100644 (file)
index 4749417..0000000
+++ /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