summaryrefslogtreecommitdiffstats
path: root/apps/encryption/js
diff options
context:
space:
mode:
authorLukas Reschke <lukas@owncloud.com>2015-04-09 13:29:51 +0200
committerLukas Reschke <lukas@owncloud.com>2015-04-09 13:29:51 +0200
commit96e7f607d53e91fdae8f7725d346304df73fede6 (patch)
tree241e0ad6b80c61b20958065548e7623bc390d0e2 /apps/encryption/js
parent4f97cb9d1bace32c0ebda1f946e147631309a01f (diff)
downloadnextcloud-server-96e7f607d53e91fdae8f7725d346304df73fede6.tar.gz
nextcloud-server-96e7f607d53e91fdae8f7725d346304df73fede6.zip
Remove unneeded file
Diffstat (limited to 'apps/encryption/js')
-rw-r--r--apps/encryption/js/detect-migration.js33
1 files changed, 0 insertions, 33 deletions
diff --git a/apps/encryption/js/detect-migration.js b/apps/encryption/js/detect-migration.js
deleted file mode 100644
index f5627edf4e4..00000000000
--- a/apps/encryption/js/detect-migration.js
+++ /dev/null
@@ -1,33 +0,0 @@
-/**
- * Copyright (c) 2013
- * Bjoern Schiessle <schiessle@owncloud.com>
- * This file is licensed under the Affero General Public License version 3 or later.
- * See the COPYING-README file.
- */
-
-
-$(document).ready(function(){
- $('form[name="login"]').on('submit', function() {
- var user = $('#user').val();
- var password = $('#password').val();
- $.ajax({
- type: 'POST',
- url: OC.linkTo('files_encryption', 'ajax/getMigrationStatus.php'),
- dataType: 'json',
- data: {user: user, password: password},
- async: false,
- success: function(response) {
- if (response.data.migrationStatus === OC.Encryption.MIGRATION_OPEN) {
- var message = t('files_encryption', 'Initial encryption started... This can take some time. Please wait.');
- $('#messageText').text(message);
- $('#message').removeClass('hidden').addClass('update');
- } else if (response.data.migrationStatus === OC.Encryption.MIGRATION_IN_PROGRESS) {
- var message = t('files_encryption', 'Initial encryption running... Please try again later.');
- $('#messageText').text(message);
- $('#message').removeClass('hidden').addClass('update');
- }
- }
- });
- });
-
-});