diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2014-03-18 17:14:38 +0100 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2014-03-18 17:14:38 +0100 |
commit | 6b9ae27b90ee5649fcab2417ebaf14e87559756e (patch) | |
tree | a5ce01aee8c99e2d4a37c1f090c7a1d82443af41 /apps/files/js | |
parent | f6c3667efa32d0fa24307b3acc3a239081bf6410 (diff) | |
download | nextcloud-server-6b9ae27b90ee5649fcab2417ebaf14e87559756e.tar.gz nextcloud-server-6b9ae27b90ee5649fcab2417ebaf14e87559756e.zip |
drop file cache migration OC5 -> OC6
Diffstat (limited to 'apps/files/js')
-rw-r--r-- | apps/files/js/upgrade.js | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/apps/files/js/upgrade.js b/apps/files/js/upgrade.js deleted file mode 100644 index 714adf824a1..00000000000 --- a/apps/files/js/upgrade.js +++ /dev/null @@ -1,28 +0,0 @@ -/* - * Copyright (c) 2014 - * - * This file is licensed under the Affero General Public License version 3 - * or later. - * - * See the COPYING-README file. - * - */ - -/* global OC */ -$(document).ready(function () { - var eventSource, total, bar = $('#progressbar'); - console.log('start'); - bar.progressbar({value: 0}); - eventSource = new OC.EventSource(OC.filePath('files', 'ajax', 'upgrade.php')); - eventSource.listen('total', function (count) { - total = count; - console.log(count + ' files needed to be migrated'); - }); - eventSource.listen('count', function (count) { - bar.progressbar({value: (count / total) * 100}); - console.log(count); - }); - eventSource.listen('done', function () { - document.location.reload(); - }); -}); |