From a86df7cdbf27577c738b0d08f417c480bbe3d44c Mon Sep 17 00:00:00 2001 From: Johannes Zellner Date: Fri, 13 Sep 2019 15:51:36 +0200 Subject: [PATCH] aRemove unused requires --- src/views/app.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/app.js b/src/views/app.js index 060becdd5..f2250963e 100644 --- a/src/views/app.js +++ b/src/views/app.js @@ -34,7 +34,7 @@ // }); // }; -angular.module('Application').controller('AppController', ['$scope', '$location', '$timeout', '$interval', 'Client', function ($scope, $location, $timeout, $interval, Client) { +angular.module('Application').controller('AppController', ['$scope', '$location', '$timeout', 'Client', function ($scope, $location, $timeout, Client) { Client.onReady(function () { if (!Client.getUserInfo().admin) $location.path('/'); }); var appId = $location.path().slice('/app/'.length); @@ -379,7 +379,7 @@ angular.module('Application').controller('AppController', ['$scope', '$location' $scope.security.busy = true; $scope.security.error = {}; - Client.configureApp($scope.app.id, 'robots_txt', { robotsTxt: $scope.security.robotsTxt }, function (error,) { + Client.configureApp($scope.app.id, 'robots_txt', { robotsTxt: $scope.security.robotsTxt }, function (error) { if (error) return Client.error(error); $scope.security.currentRobotsTxt = $scope.security.robotsTxt;