summaryrefslogtreecommitdiff
path: root/lookup_page_inc.php
diff options
context:
space:
mode:
authorMax Kremmel <xing@synapse.plus.com>2007-07-06 15:43:23 +0000
committerMax Kremmel <xing@synapse.plus.com>2007-07-06 15:43:23 +0000
commit3b3ee194aac5554e89a1e464bd784217b8fcd511 (patch)
tree4ef243c699bb64f42d4d97c6857dab3826eb0b2d /lookup_page_inc.php
parent9d91021796a547e758748db9899f908f441ad28a (diff)
downloadwiki-3b3ee194aac5554e89a1e464bd784217b8fcd511.tar.gz
wiki-3b3ee194aac5554e89a1e464bd784217b8fcd511.tar.bz2
wiki-3b3ee194aac5554e89a1e464bd784217b8fcd511.zip
remove updateUserPermissions function. this function was a bad idea since it distorts user permissions for the entire site and LC::hasUserPermission has to be called manually to check for libery content permission settings. more lcp work to come shortly.
Diffstat (limited to 'lookup_page_inc.php')
-rw-r--r--lookup_page_inc.php9
1 files changed, 2 insertions, 7 deletions
diff --git a/lookup_page_inc.php b/lookup_page_inc.php
index c6c92f5..b25261d 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.21 2007/06/01 15:16:49 squareing Exp $
+ * $Header: /cvsroot/bitweaver/_bit_wiki/lookup_page_inc.php,v 1.22 2007/07/06 15:43:23 squareing 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.21 2007/06/01 15:16:49 squareing Exp $
+ * $Id: lookup_page_inc.php,v 1.22 2007/07/06 15:43:23 squareing Exp $
* @package wiki
* @subpackage functions
*/
@@ -55,11 +55,6 @@ if( empty( $gContent ) || !is_object( $gContent ) || strtolower( get_class( $gCo
}
}
-// Now that gContent is loaded, we can transparently update user
-// permissions as set by the individual page permissions - if any are set
-// this is now done using a liberty service - xing
-//$gContent->updateUserPermissions();
-
// we weren't passed a structure, but maybe this page belongs to one. let's check...
if( empty( $gStructure ) ) {
//Get the structures this page is a member of