summaryrefslogtreecommitdiff
path: root/boards_rss.php
diff options
context:
space:
mode:
authorspiderr <spiderr@bitweaver.org>2021-01-31 15:48:40 -0500
committerspiderr <spiderr@bitweaver.org>2021-01-31 15:48:40 -0500
commit2175a98906031fff0d8932acaef2996dd09c42fe (patch)
tree8621987a926f52e423599422423b02c7e71cb9cb /boards_rss.php
parent9b49585a9b0393e9a90f911c38565e88f98dfe0d (diff)
downloadboards-2175a98906031fff0d8932acaef2996dd09c42fe.tar.gz
boards-2175a98906031fff0d8932acaef2996dd09c42fe.tar.bz2
boards-2175a98906031fff0d8932acaef2996dd09c42fe.zip
PHP7 clean up dual static + object use of parseData, and create ->getParsedData & ::filterDataHash
Diffstat (limited to 'boards_rss.php')
-rw-r--r--boards_rss.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/boards_rss.php b/boards_rss.php
index 1de8151..a266cc1 100644
--- a/boards_rss.php
+++ b/boards_rss.php
@@ -53,9 +53,8 @@ $rss->useCached( $rss_version_name, $cacheFile, $gBitSystem->getConfig( 'rssfeed
$title = tra("Recent Discussions");
$description = tra("All recent forum discussions on ".$gBitSystem->getConfig( 'site_title' ) );
if( $gContent->isValid() ){
- $gContent->parseData();
$title = $gContent->getField( 'title' )." Feed";
- $description = $gContent->getField( 'parsed_data' );
+ $description = $gContent->getParsedData();
}
$rss->title = $title;
$rss->description = $description;