summaryrefslogtreecommitdiff
path: root/articles_rss.php
diff options
context:
space:
mode:
authorMax Kremmel <xing@synapse.plus.com>2006-04-11 13:03:25 +0000
committerMax Kremmel <xing@synapse.plus.com>2006-04-11 13:03:25 +0000
commit5ba45d8c3567b87fd738f4208c1133d11be57c03 (patch)
tree996d1f3ba1b0410275a8074f5af351aa6c022a11 /articles_rss.php
parent9090a1dfd56f072cffec76f040a5a6cf0b1c003c (diff)
downloadarticles-5ba45d8c3567b87fd738f4208c1133d11be57c03.tar.gz
articles-5ba45d8c3567b87fd738f4208c1133d11be57c03.tar.bz2
articles-5ba45d8c3567b87fd738f4208c1133d11be57c03.zip
rename permissions to new standard using: p_<package>_<verb>_[<noun>]
Diffstat (limited to 'articles_rss.php')
-rw-r--r--articles_rss.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/articles_rss.php b/articles_rss.php
index 67b64fe..fe35f04 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.12 2006/04/05 06:31:56 squareing Exp $
+ * @version $Header: /cvsroot/bitweaver/_bit_articles/articles_rss.php,v 1.13 2006/04/11 13:03:24 squareing Exp $
* @package article
* @subpackage functions
*/
@@ -19,7 +19,7 @@ $rss->title = $gBitSystem->getConfig( 'title_rss_articles', $gBitSystem->getConf
$rss->description = $gBitSystem->getConfig( 'desc_rss_articles', $gBitSystem->getConfig( 'site_title' ).' - '.tra( 'RSS Feed' ) );
// check permission to view articles
-if( !$gBitUser->hasPermission( 'bit_p_read_article' ) ) {
+if( !$gBitUser->hasPermission( 'p_articles_read' ) ) {
require_once( RSS_PKG_PATH."rss_error.php" );
} else {
// check if we want to use the cache file