From c7ae5df9526fd56d8c4147a1a0b046d8c87bd542 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Wed, 9 Jan 2013 20:15:17 +0000 Subject: [PATCH] Save cache 'compacted' --- inc/classes/rdf.class.php | 2 +- inc/template-functions.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/inc/classes/rdf.class.php b/inc/classes/rdf.class.php index 6269c507ff..23df025b28 100644 --- a/inc/classes/rdf.class.php +++ b/inc/classes/rdf.class.php @@ -1116,7 +1116,7 @@ class fase4_rdf { { if (defined('__SECURITY') && function_exists('writeToFile')) { // Use mailer-project function - return writeToFile($this->_cache_dir.$this->_cached_file, $content); + return writeToFile($this->_cache_dir.$this->_cached_file, compactContent($content)); } $_local = @fopen($this->_cache_dir.$this->_cached_file, 'w'); if (!$_local) { diff --git a/inc/template-functions.php b/inc/template-functions.php index a9de28da56..9b07f6b3a0 100644 --- a/inc/template-functions.php +++ b/inc/template-functions.php @@ -2295,7 +2295,7 @@ function anonymizeSensitiveData ($data) { } /** - * Removes all commentd, tabs and new-line characters to compact the content + * Removes all comments, tabs and new-line characters to compact the content * * @param $uncompactedContent The uncompacted content * @return $compactedContent The compacted content -- 2.39.5