mirror of
https://github.com/e107inc/e107.git
synced 2025-08-01 04:10:38 +02:00
Issue #4700 - removed bad reference to cache pref.
This commit is contained in:
@@ -86,12 +86,10 @@ class linkwords_parse
|
|||||||
$this->area_opts = (array) varset($pref['lw_context_visibility']);
|
$this->area_opts = (array) varset($pref['lw_context_visibility']);
|
||||||
$this->utfMode = (strtolower(CHARSET) === 'utf-8') ? 'u' : '';
|
$this->utfMode = (strtolower(CHARSET) === 'utf-8') ? 'u' : '';
|
||||||
$this->lwAjaxEnabled = varset($pref['lw_ajax_enable'],0);
|
$this->lwAjaxEnabled = varset($pref['lw_ajax_enable'],0);
|
||||||
$this->cache = (int) varset($pref['lw_cache'],false);
|
|
||||||
|
|
||||||
// See whether they should be active on this page - if not, no point doing anything!
|
// See whether they should be active on this page - if not, no point doing anything!
|
||||||
if(e_ADMIN_AREA === true && empty($_POST['runLinkwordTest']))
|
if(e_ADMIN_AREA === true && empty($_POST['runLinkwordTest']))
|
||||||
{
|
{
|
||||||
$this->cache(false);
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user