remove unused variables

This commit is contained in:
Girish Ramakrishnan
2015-10-27 12:39:06 -07:00
parent b9a0ad73ab
commit dc18a18248

View File

@@ -205,7 +205,7 @@ app.controller('CustomDomainController', [ '$scope', '$location', 'Wizard', func
if (Wizard.dnsConfig === null) $location.path('/step4'); // not using custom domain
}]);
app.controller('FinishController', ['$scope', '$location', '$timeout', 'Wizard', 'Client', function ($scope, $location, $timeout, Wizard, Client) {
app.controller('FinishController', ['$scope', '$location', 'Wizard', 'Client', function ($scope, $location, Wizard, Client) {
$scope.wizard = Wizard;
Client.createAdmin($scope.wizard.username, $scope.wizard.password, $scope.wizard.email, $scope.setupToken, function (error) {
@@ -247,8 +247,6 @@ app.controller('SetupController', ['$scope', '$location', 'Client', 'Wizard', fu
};
}
Wizard.hostname = window.location.host.indexOf('my-') === 0 ? window.location.host.slice(3) : window.location.host;
Client.isServerFirstTime(function (error, isFirstTime) {
if (error) {
window.location.href = '/error.html';