diff options
| author | Christian Fowler <spider@viovio.com> | 2007-09-14 17:07:20 +0000 |
|---|---|---|
| committer | Christian Fowler <spider@viovio.com> | 2007-09-14 17:07:20 +0000 |
| commit | 88ca1fbbb1b0779b3b09b2b0a62f3ea51b05d561 (patch) | |
| tree | f248024e4208876a6c991ca60481f2cac766ecbe /orphan_pages.php | |
| parent | d87dfd64a4fc7d0683920295b927948dec046a11 (diff) | |
| download | wiki-88ca1fbbb1b0779b3b09b2b0a62f3ea51b05d561.tar.gz wiki-88ca1fbbb1b0779b3b09b2b0a62f3ea51b05d561.tar.bz2 wiki-88ca1fbbb1b0779b3b09b2b0a62f3ea51b05d561.zip | |
migrate view perm calls to hasViewPermission
Diffstat (limited to 'orphan_pages.php')
| -rw-r--r-- | orphan_pages.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/orphan_pages.php b/orphan_pages.php index 794d762..2c7772b 100644 --- a/orphan_pages.php +++ b/orphan_pages.php @@ -1,8 +1,8 @@ <?php /** - * $Header: /cvsroot/bitweaver/_bit_wiki/orphan_pages.php,v 1.13 2007/07/06 16:22:14 spiderr Exp $ + * $Header: /cvsroot/bitweaver/_bit_wiki/orphan_pages.php,v 1.14 2007/09/14 17:07:20 spiderr Exp $ * - * $Id: orphan_pages.php,v 1.13 2007/07/06 16:22:14 spiderr Exp $ + * $Id: orphan_pages.php,v 1.14 2007/09/14 17:07:20 spiderr Exp $ * @package wiki * @subpackage functions */ @@ -17,7 +17,7 @@ include_once( WIKI_PKG_PATH.'BitPage.php' ); $gBitSystem->verifyPackage( 'wiki' ); $gBitSystem->verifyFeature( 'wiki_list_orphans' ); -$gContent->verifyPermission( 'p_wiki_view_page' ); +$gContent->verifyViewPermission(); /* mass-remove: the checkboxes are sent as the array $_REQUEST["checked[]"], values are the wiki-PageNames, |
