Remove usage of .

This commit is contained in:
Alexis Lahouze 2017-07-07 01:16:33 +02:00
parent bebe2aa874
commit 6556227f88

View File

@ -61,7 +61,7 @@ module.exports = angular.module('accountant.operations', [
* Controller for the operations. * Controller for the operations.
*/ */
.controller('OperationController', function($routeParams, $modal, .controller('OperationController', function($routeParams, $modal,
Notification, Operation, Account, $log) { Notification, Operation, Account) {
var vm = this; var vm = this;
@ -123,8 +123,6 @@ module.exports = angular.module('accountant.operations', [
return operation; return operation;
}, function(result){ }, function(result){
$log.error('Error while saving operation', operation, result);
Notification.error( Notification.error(
'Error while saving operation: ' + result.message 'Error while saving operation: ' + result.message
); );