aRemove unused requires

This commit is contained in:
Johannes Zellner
2019-09-13 15:51:36 +02:00
parent 3d5cdd659b
commit a86df7cdbf

View File

@@ -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;