1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-01 20:30:39 +02:00

Issue #4700 - removed bad reference to cache pref.

This commit is contained in:
Cameron
2022-03-12 12:21:00 -08:00
parent a459057d68
commit 08e82331b3

View File

@@ -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;
} }