aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--include/common.inc.php3
-rw-r--r--include/filter.inc.php3
2 files changed, 1 insertions, 5 deletions
diff --git a/include/common.inc.php b/include/common.inc.php
index 49fc70dba..f3e4f093d 100644
--- a/include/common.inc.php
+++ b/include/common.inc.php
@@ -112,6 +112,7 @@ $user = array();
$lang = array();
$header_msgs = array();
$header_notes = array();
+$filter = array();
@include(PHPWG_ROOT_PATH .'include/mysql.inc.php');
if (!defined('PHPWG_INSTALLED'))
@@ -252,8 +253,6 @@ if (!empty($conf['filter_pages']) and get_filter_page_value('used'))
}
else
{
- // global variable for filter
- $filter = array();
$filter['enabled'] = false;
}
diff --git a/include/filter.inc.php b/include/filter.inc.php
index 56617d9ec..e1d1523d1 100644
--- a/include/filter.inc.php
+++ b/include/filter.inc.php
@@ -23,9 +23,6 @@
// | USA. |
// +-----------------------------------------------------------------------+
-// global variable for filter
-$filter = array();
-
// $filter['enabled']: Filter is enabled
// $filter['check_key']: Check key to valitade computed filter data
// $filter['recent_period']: Recent period used to computed filter data