aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-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 cba46b781..8a136bc4f 100644
--- a/include/common.inc.php
+++ b/include/common.inc.php
@@ -113,6 +113,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'))
@@ -251,8 +252,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