summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2016-10-12 15:12:26 -0300
committerRenato Botelho <renato@netgate.com>2016-10-12 15:12:26 -0300
commitf68a881cc60df0209a6169cf2b74d593968950eb (patch)
tree97680ff4570b838e5a81e106f98e589e8a71622c
parent3f4a0df92c1fbb72028e5aa1a646b4b4b4aeb90f (diff)
downloadpfsense-f68a881cc60df0209a6169cf2b74d593968950eb.zip
pfsense-f68a881cc60df0209a6169cf2b74d593968950eb.tar.gz
Remove unused global config item 'update_manifest'
-rw-r--r--src/etc/inc/globals.inc1
-rw-r--r--src/usr/local/www/system_update_settings.php5
2 files changed, 0 insertions, 6 deletions
diff --git a/src/etc/inc/globals.inc b/src/etc/inc/globals.inc
index 789135f..e3bb547 100644
--- a/src/etc/inc/globals.inc
+++ b/src/etc/inc/globals.inc
@@ -99,7 +99,6 @@ if (is_numeric($g["product_version_patch"]) && $g["product_version_patch"] != "0
}
if (file_exists("/etc/platform")) {
- $g['update_manifest']="https://updates.pfsense.org/manifest";
$g['platform'] = trim(file_get_contents("/etc/platform"));
if ($g['platform'] == "nanobsd") {
$g['hidebackupbeforeupgrade'] = true;
diff --git a/src/usr/local/www/system_update_settings.php b/src/usr/local/www/system_update_settings.php
index 23c30cd..c22c48b 100644
--- a/src/usr/local/www/system_update_settings.php
+++ b/src/usr/local/www/system_update_settings.php
@@ -76,11 +76,6 @@ $gitcfg = $config['system']['gitsync'];
$pgtitle = array(gettext("System"), gettext("Update"), gettext("Update Settings"));
-exec("/usr/bin/fetch -q -o {$g['tmp_path']}/manifest \"{$g['update_manifest']}\"");
-if (file_exists("{$g['tmp_path']}/manifest")) {
- $preset_urls_split = explode("\n", file_get_contents("{$g['tmp_path']}/manifest"));
-}
-
// Create an array of repo names and descriptions to populate the "Branch" selector
function build_repo_list() {
global $repos;
OpenPOWER on IntegriCloud