Remove email backup feature

This commit is contained in:
Yemel Jardi 2014-06-19 15:54:12 -03:00
commit 7847bdcb2c
4 changed files with 2 additions and 63 deletions

View file

@ -8,17 +8,6 @@ angular.module('copayApp.controllers').controller('BackupController',
backupService.download($rootScope.wallet);
};
$scope.openModal = function() {
var modalInstance = $modal.open({
templateUrl: 'backupModal.html',
controller: ModalInstanceCtrl,
});
modalInstance.result.then(function(email) {
backupService.sendEmail(email, $rootScope.wallet);
});
};
$scope.deleteWallet = function() {
var w = $rootScope.wallet;
w.disconnect();
@ -28,14 +17,3 @@ angular.module('copayApp.controllers').controller('BackupController',
};
});
var ModalInstanceCtrl = function($scope, $modalInstance) {
$scope.submit = function(form) {
$modalInstance.close($scope.email);
};
$scope.cancel = function() {
$modalInstance.dismiss('cancel');
};
};