Fix display of backup warning

see cloudron/box#719
This commit is contained in:
Girish Ramakrishnan
2021-06-23 22:12:05 -07:00
parent 1a406c4d7d
commit 4dbd794b41
3 changed files with 2 additions and 22 deletions

View File

@@ -811,15 +811,6 @@ angular.module('Application').service('Client', ['$http', '$interval', '$timeout
});
};
Client.prototype.checkBackupConfig = function (callback) {
get('/api/v1/backups/check', null, function (error, data, status) {
if (error) return callback(error);
if (status !== 200) return callback(new ClientError(status, data));
callback(null, data);
});
};
Client.prototype.getSupportConfig = function (callback) {
get('/api/v1/settings/support_config', null, function (error, data, status) {
if (error) return callback(error);