summaryrefslogtreecommitdiff
path: root/lookup_page_inc.php
diff options
context:
space:
mode:
authorLester Caine <lester@lsces.co.uk>2008-01-14 09:26:02 +0000
committerLester Caine <lester@lsces.co.uk>2008-01-14 09:26:02 +0000
commit4946f63ef0527c944e0199846f717929ef1029a2 (patch)
tree52c5cb93c3d5269e7019f6f2e222067f358e462d /lookup_page_inc.php
parente94b668681c174256907315ddd8f5a6d0efafb84 (diff)
downloadwiki-4946f63ef0527c944e0199846f717929ef1029a2.tar.gz
wiki-4946f63ef0527c944e0199846f717929ef1029a2.tar.bz2
wiki-4946f63ef0527c944e0199846f717929ef1029a2.zip
remove setProtection - LEAVE storing the already accessed ContentId!
Diffstat (limited to 'lookup_page_inc.php')
-rw-r--r--lookup_page_inc.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/lookup_page_inc.php b/lookup_page_inc.php
index cf556ba..6f1da63 100644
--- a/lookup_page_inc.php
+++ b/lookup_page_inc.php
@@ -1,6 +1,6 @@
<?php
/**
- * $Header: /cvsroot/bitweaver/_bit_wiki/lookup_page_inc.php,v 1.23 2008/01/13 14:53:46 lsces Exp $
+ * $Header: /cvsroot/bitweaver/_bit_wiki/lookup_page_inc.php,v 1.24 2008/01/14 09:26:02 lsces 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: lookup_page_inc.php,v 1.23 2008/01/13 14:53:46 lsces Exp $
+ * $Id: lookup_page_inc.php,v 1.24 2008/01/14 09:26:02 lsces Exp $
* @package wiki
* @subpackage functions
*/
@@ -45,7 +45,6 @@ if( empty( $gContent ) || !is_object( $gContent ) || strtolower( get_class( $gCo
} else {
$gContent->mPageId = $existsInfo[0]['page_id'];
$gContent->mContentId = $existsInfo[0]['content_id'];
- $gContent->setProtected();
}
}
} elseif( $loadPage ) {