summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorErmal Luçi <eri@pfsense.org>2008-10-19 09:33:48 +0000
committerErmal Luçi <eri@pfsense.org>2008-10-19 09:33:48 +0000
commitb042cfd6fd6b6b6a0aa21f784373dfbd6bef096d (patch)
treec8a751e4a0db251d553394454d8ea9ffb7f1b8bd /etc
parent40aa6f2072134d5f9623683189280be44defbe6a (diff)
downloadpfsense-b042cfd6fd6b6b6a0aa21f784373dfbd6bef096d.zip
pfsense-b042cfd6fd6b6b6a0aa21f784373dfbd6bef096d.tar.gz
Remove unused var.
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/pfsense-utils.inc5
1 files changed, 0 insertions, 5 deletions
diff --git a/etc/inc/pfsense-utils.inc b/etc/inc/pfsense-utils.inc
index 15d1ab7..d3980fb 100644
--- a/etc/inc/pfsense-utils.inc
+++ b/etc/inc/pfsense-utils.inc
@@ -648,7 +648,6 @@ function tdr_install_set() {
*/
function get_time_based_rule_status($schedule) {
$should_add_rule = false;
- global $debug;
/* no schedule? rule should be installed */
if($schedule == "")
return true;
@@ -714,7 +713,6 @@ function tdr_day($schedule) {
* Calculate day of month.
* IE: 29th of may
*/
- global $debug;
$weekday = date("w");
if ($weekday == 0)
$weekday = 7;
@@ -731,7 +729,6 @@ function tdr_day($schedule) {
function tdr_hour($schedule) {
/* $schedule should be a string such as 16:00-19:00 */
- global $debug;
$tmp = split("-", $schedule);
$starting_time = strtotime($tmp[0]);
$ending_time = strtotime($tmp[1]);
@@ -751,7 +748,6 @@ function tdr_position($schedule) {
* Saturday = 6
* ...
*/
- global $debug;
$weekday = date("w");
log_error("[TDR DEBUG] tdr_position($schedule) $weekday");
if ($weekday == 0)
@@ -769,7 +765,6 @@ function tdr_month($schedule) {
/*
* Calculate month
*/
- global $debug;
$todays_month = date("n");
$months = split(",", $schedule);
log_error("[TDR DEBUG] tdr_month($schedule)");
OpenPOWER on IntegriCloud