www: remove unused legacy package function

This commit is contained in:
Franco Fichtner 2015-04-12 08:42:03 +02:00
parent 8d839435ac
commit c5da2c145c
3 changed files with 1 additions and 15 deletions

View File

@ -30,11 +30,6 @@
require_once("guiconfig.inc");
require_once("globals.inc");
function gentitle_pkg($pgname) {
global $config;
return $config['system']['hostname'] . "." . $config['system']['domain'] . " - " . $pgname;
}
unset($interface_arr_cache);
unset($carp_interface_count_cache);
unset($interface_ip_arr_cache);

View File

@ -1,4 +1,5 @@
<?php
/*
Copyright (C) 2014-2015 Deciso B.V.
Copyright (C) 2004-2012 Scott Ullrich <sullrich@gmail.com>
@ -49,11 +50,6 @@ function get_pkg_interfaces_select_source($include_localhost=false) {
return $ssifs;
}
function gentitle_pkg($pgname) {
global $pfSense_config;
return $pfSense_config['system']['hostname'] . "." . $pfSense_config['system']['domain'] . " - " . $pgname;
}
function domTT_title($title_msg){
if (!empty($title_msg)){
$title_msg=preg_replace("/\s+/"," ",$title_msg);

View File

@ -35,11 +35,6 @@ require_once("filter.inc");
require_once("shaper.inc");
require_once("rrd.inc");
function gentitle_pkg($pgname) {
global $config;
return $config['system']['hostname'] . "." . $config['system']['domain'] . " - " . $pgname;
}
global $g;
$stepid = htmlspecialchars($_GET['stepid']);