Removed deleteProfile() as it is not used.
This commit is contained in:
parent
17685dd810
commit
f483fd81d8
1 changed files with 0 additions and 7 deletions
|
|
@ -116,19 +116,16 @@ angular.module('copayApp.services')
|
|||
};
|
||||
|
||||
root.storeNewProfile = function(profile, cb) {
|
||||
//storage.create('profile', profile.toObj(), cb);
|
||||
secureStorageService.set('profile', profile.toObj(), cb);
|
||||
};
|
||||
|
||||
root.storeProfile = function(profile, cb) {
|
||||
//storage.set('profile', profile.toObj(), cb);
|
||||
secureStorageService.set('profile', profile.toObj(), cb);
|
||||
};
|
||||
|
||||
root.getProfile = function(cb) {
|
||||
$log.debug("getProfile() 1 8");
|
||||
|
||||
//storage.get('profile', function(err, str) {
|
||||
secureStorageService.get('profile', function(err, str) {
|
||||
|
||||
if (err || !str)
|
||||
|
|
@ -148,10 +145,6 @@ angular.module('copayApp.services')
|
|||
});
|
||||
};
|
||||
|
||||
root.deleteProfile = function(cb) {
|
||||
storage.remove('profile', cb);
|
||||
};
|
||||
|
||||
root.setFeedbackInfo = function(feedbackValues, cb) {
|
||||
storage.set('feedback', feedbackValues, cb);
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue