summaryrefslogtreecommitdiffstats
path: root/src/etc/inc/config.gui.inc
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2016-10-12 16:29:07 -0300
committerRenato Botelho <renato@netgate.com>2016-10-12 16:29:49 -0300
commitdc61252ae4dbfcfe5d75f40c86b5cf955242b788 (patch)
tree8db639550cb248216a10b6b9d5ec10ab6384c32f /src/etc/inc/config.gui.inc
parent9ed7f8f635c6b8d8074c2abe754aadb965aa47c4 (diff)
downloadpfsense-dc61252ae4dbfcfe5d75f40c86b5cf955242b788.zip
pfsense-dc61252ae4dbfcfe5d75f40c86b5cf955242b788.tar.gz
Deprecate nanobsd platform and remove all conditionals that uses it
Diffstat (limited to 'src/etc/inc/config.gui.inc')
-rw-r--r--src/etc/inc/config.gui.inc7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/etc/inc/config.gui.inc b/src/etc/inc/config.gui.inc
index f41b912..3ed814c 100644
--- a/src/etc/inc/config.gui.inc
+++ b/src/etc/inc/config.gui.inc
@@ -44,13 +44,6 @@ if (file_exists("/cf/conf/use_xmlreader")) {
}
require_once("crypt.inc");
-/* read platform */
-if (file_exists("{$g['etc_path']}/platform")) {
- $g['platform'] = chop(file_get_contents("{$g['etc_path']}/platform"));
-} else {
- $g['platform'] = "unknown";
-}
-
/* if /debugging exists, lets set $debugging
so we can output more information */
if (file_exists("/debugging")) {
OpenPOWER on IntegriCloud