Commit c5da2c14 authored by Franco Fichtner's avatar Franco Fichtner

www: remove unused legacy package function

parent 8d839435
......@@ -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);
......
<?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);
......
......@@ -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']);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment