From 6556227f8821c7fc5b42aa8a2fe69fb68452d55e Mon Sep 17 00:00:00 2001 From: Alexis Lahouze Date: Fri, 7 Jul 2017 01:16:33 +0200 Subject: [PATCH] Remove usage of . --- src/operations/index.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/operations/index.js b/src/operations/index.js index a0e82be..04d1145 100644 --- a/src/operations/index.js +++ b/src/operations/index.js @@ -61,7 +61,7 @@ module.exports = angular.module('accountant.operations', [ * Controller for the operations. */ .controller('OperationController', function($routeParams, $modal, - Notification, Operation, Account, $log) { + Notification, Operation, Account) { var vm = this; @@ -123,8 +123,6 @@ module.exports = angular.module('accountant.operations', [ return operation; }, function(result){ - $log.error('Error while saving operation', operation, result); - Notification.error( 'Error while saving operation: ' + result.message );