diff options
| author | Max Kremmel <xing@synapse.plus.com> | 2007-07-06 16:37:22 +0000 |
|---|---|---|
| committer | Max Kremmel <xing@synapse.plus.com> | 2007-07-06 16:37:22 +0000 |
| commit | e89540d4bfe24cf650511e138b7e16e46d1bc3c8 (patch) | |
| tree | 49bd4e19aa711708862f258170872eca6ff95655 /articles_rss.php | |
| parent | 61d47f9b1c26deb96a0c835046bb2a477f67c1df (diff) | |
| download | articles-e89540d4bfe24cf650511e138b7e16e46d1bc3c8.tar.gz articles-e89540d4bfe24cf650511e138b7e16e46d1bc3c8.tar.bz2 articles-e89540d4bfe24cf650511e138b7e16e46d1bc3c8.zip | |
move to gContent perm functions to fully support liberty content permissions
Diffstat (limited to 'articles_rss.php')
| -rw-r--r-- | articles_rss.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/articles_rss.php b/articles_rss.php index ba8038f..0e36b13 100644 --- a/articles_rss.php +++ b/articles_rss.php @@ -1,6 +1,6 @@ <?php /** - * @version $Header: /cvsroot/bitweaver/_bit_articles/articles_rss.php,v 1.19 2007/06/13 19:39:05 squareing Exp $ + * @version $Header: /cvsroot/bitweaver/_bit_articles/articles_rss.php,v 1.20 2007/07/06 16:37:22 squareing Exp $ * @package article * @subpackage functions */ @@ -21,7 +21,7 @@ $rss->title = $gBitSystem->getConfig( 'articles_rss_title', $gBitSystem->getConf $rss->description = $gBitSystem->getConfig( 'articles_rss_description', $gBitSystem->getConfig( 'site_title' ).' - '.tra( 'RSS Feed' ) ); // check permission to view articles -if( !$gBitUser->hasPermission( 'p_articles_read' ) ) { +if( !$gContent->hasUserPermission( 'p_articles_read' ) ) { require_once( RSS_PKG_PATH."rss_error.php" ); } else { // check if we want to use the cache file |
