diff options
| author | Christian Fowler <spider@viovio.com> | 2007-07-06 16:22:14 +0000 |
|---|---|---|
| committer | Christian Fowler <spider@viovio.com> | 2007-07-06 16:22:14 +0000 |
| commit | d3463938685950b16d2cf6ce93d0fd1d8c1da3fb (patch) | |
| tree | a39a4d5a5f1b923ea12106c3d76fc8e547c86b57 /rankings.php | |
| parent | 89a8c6defda32eac1e5b8aa63e73bb36da0df77e (diff) | |
| download | wiki-d3463938685950b16d2cf6ce93d0fd1d8c1da3fb.tar.gz wiki-d3463938685950b16d2cf6ce93d0fd1d8c1da3fb.tar.bz2 wiki-d3463938685950b16d2cf6ce93d0fd1d8c1da3fb.zip | |
move to gContent perm functions so assigned content permissions work properly
Diffstat (limited to 'rankings.php')
| -rw-r--r-- | rankings.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/rankings.php b/rankings.php index ff08e62..7dda4db 100644 --- a/rankings.php +++ b/rankings.php @@ -1,6 +1,6 @@ <?php /** - * $Header: /cvsroot/bitweaver/_bit_wiki/rankings.php,v 1.8 2006/04/11 13:10:33 squareing Exp $ + * $Header: /cvsroot/bitweaver/_bit_wiki/rankings.php,v 1.9 2007/07/06 16:22:14 spiderr Exp $ * * Copyright (c) 2004 bitweaver.org * Copyright (c) 2003 tikwiki.org @@ -8,7 +8,7 @@ * All Rights Reserved. See copyright.txt for details and a complete list of authors. * Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details * - * $Id: rankings.php,v 1.8 2006/04/11 13:10:33 squareing Exp $ + * $Id: rankings.php,v 1.9 2007/07/06 16:22:14 spiderr Exp $ * @package wiki * @subpackage functions */ @@ -20,7 +20,7 @@ require_once( '../bit_setup_inc.php' ); $gBitSystem->verifyPackage( 'wiki' ); $gBitSystem->verifyFeature( 'wiki_rankings' ); -$gBitSystem->verifyPermission( 'p_wiki_view_page' ); +$gContent->verifyPermission( 'p_wiki_view_page' ); $rankingOptions = array( array( |
