summaryrefslogtreecommitdiff
path: root/orphan_pages.php
diff options
context:
space:
mode:
authorNick Palmer <nick@sluggardy.net>2007-10-26 13:33:32 +0000
committerNick Palmer <nick@sluggardy.net>2007-10-26 13:33:32 +0000
commit3efd22a4c094a125c8da38157246939509fc5e75 (patch)
tree1ebe27d7801bd7fb069a4c95134c68bbe3681c44 /orphan_pages.php
parent3d320676279401d91994b07b19b8c81633fb1b32 (diff)
downloadwiki-3efd22a4c094a125c8da38157246939509fc5e75.tar.gz
wiki-3efd22a4c094a125c8da38157246939509fc5e75.tar.bz2
wiki-3efd22a4c094a125c8da38157246939509fc5e75.zip
Fix orphan pages permission check.
Diffstat (limited to 'orphan_pages.php')
-rw-r--r--orphan_pages.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/orphan_pages.php b/orphan_pages.php
index 2c7772b..d66b9d2 100644
--- a/orphan_pages.php
+++ b/orphan_pages.php
@@ -1,8 +1,8 @@
<?php
/**
- * $Header: /cvsroot/bitweaver/_bit_wiki/orphan_pages.php,v 1.14 2007/09/14 17:07:20 spiderr Exp $
+ * $Header: /cvsroot/bitweaver/_bit_wiki/orphan_pages.php,v 1.15 2007/10/26 13:33:32 nickpalmer Exp $
*
- * $Id: orphan_pages.php,v 1.14 2007/09/14 17:07:20 spiderr Exp $
+ * $Id: orphan_pages.php,v 1.15 2007/10/26 13:33:32 nickpalmer Exp $
* @package wiki
* @subpackage functions
*/
@@ -17,6 +17,7 @@ include_once( WIKI_PKG_PATH.'BitPage.php' );
$gBitSystem->verifyPackage( 'wiki' );
$gBitSystem->verifyFeature( 'wiki_list_orphans' );
+$gContent = new BitPage();
$gContent->verifyViewPermission();
/* mass-remove: