diff options
| author | spiderr <spiderr@bitweaver.org> | 2021-01-31 15:48:40 -0500 |
|---|---|---|
| committer | spiderr <spiderr@bitweaver.org> | 2021-01-31 15:48:40 -0500 |
| commit | 2175a98906031fff0d8932acaef2996dd09c42fe (patch) | |
| tree | 8621987a926f52e423599422423b02c7e71cb9cb /boards_rss.php | |
| parent | 9b49585a9b0393e9a90f911c38565e88f98dfe0d (diff) | |
| download | boards-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.php | 3 |
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; |
