admin email is a platform property

This commit is contained in:
Girish Ramakrishnan
2016-05-24 16:36:52 -07:00
parent b2cadaf95c
commit 2347a7ced2
4 changed files with 25 additions and 22 deletions

View File

@@ -31,7 +31,6 @@ exports = module.exports = {
mailFqdn: mailFqdn,
appFqdn: appFqdn,
zoneName: zoneName,
adminEmail: adminEmail,
isDev: isDev,
@@ -74,7 +73,6 @@ function initConfig() {
data.fqdn = 'localhost';
data.token = null;
data.adminEmail = null;
data.boxVersionsUrl = null;
data.version = null;
data.isCustomDomain = false;
@@ -102,7 +100,6 @@ function initConfig() {
name: 'boxtest'
};
data.token = 'APPSTORE_TOKEN';
data.adminEmail = 'no-reply@localhost';
} else {
assert(false, 'Unknown environment. This should not happen!');
}
@@ -141,10 +138,6 @@ function get(key) {
return safe.query(data, key);
}
function adminEmail() {
return get('adminEmail');
}
function apiServerOrigin() {
return get('apiServerOrigin');
}