Remove phpinfo()

This commit is contained in:
djmaze 2020-05-07 09:24:02 +02:00
parent 3d9b3334ee
commit 7b03ae5ed8
6 changed files with 1 additions and 44 deletions

View file

@ -225,13 +225,6 @@ export function userBackground(hash) {
);
}
/**
* @returns {string}
*/
export function phpInfo() {
return SERVER_PREFIX + '/Info';
}
/**
* @param {string} lang
* @param {boolean} isAdmin

View file

@ -13,7 +13,6 @@ import {
import { SaveSettingsStep, Magics } from 'Common/Enums';
import { reload as translatorReload } from 'Common/Translator';
import { phpInfo } from 'Common/Links';
import { settingsGet } from 'Storage/Settings';
import { showScreenPopup } from 'Knoin/Knoin';
@ -177,13 +176,6 @@ class GeneralAdminSettings {
LanguageStore.userLanguageAdmin()
]);
}
/**
* @returns {string}
*/
phpInfoLink() {
return phpInfo();
}
}
export { GeneralAdminSettings, GeneralAdminSettings as default };

View file

@ -2,7 +2,6 @@ import _ from '_';
import ko from 'ko';
import { trim, boolToAjax } from 'Common/Utils';
import { phpInfo } from 'Common/Links';
import { StorageResultType, Magics } from 'Common/Enums';
import { settingsGet } from 'Storage/Settings';
@ -172,13 +171,6 @@ class SecurityAdminSettings {
this.twoFactorDropperUser('');
this.twoFactorDropperUser.focused(false);
}
/**
* @returns {string}
*/
phpInfoLink() {
return phpInfo();
}
}
export { SecurityAdminSettings, SecurityAdminSettings as default };