Remove unneeded $q.

This commit is contained in:
Alexis Lahouze 2017-07-08 09:34:55 +02:00
parent 30549dd6d8
commit 28afd8f563
1 changed files with 1 additions and 3 deletions

View File

@ -1,7 +1,7 @@
var accountFormTmpl = require('./account.form.tmpl.html'),
accountDeleteTmpl = require('./account.delete.tmpl.html');
module.exports = function(Account, Notification, $log, $q, $modal) {
module.exports = function(Account, Notification, $log, $modal) {
var vm = this;
/*
@ -67,8 +67,6 @@ module.exports = function(Account, Notification, $log, $q, $modal) {
Notification.error(
'Error while saving account: ' + result.message
);
return $q.reject(result);
});
};