summaryrefslogtreecommitdiff
path: root/edit.php
diff options
context:
space:
mode:
authorChristian Fowler <spider@viovio.com>2008-10-20 21:40:09 +0000
committerChristian Fowler <spider@viovio.com>2008-10-20 21:40:09 +0000
commita661dfbb487791f592c98aadc44c4c90ac072fcf (patch)
tree7245630a83dca014d54add79f53f83d5c56be4d7 /edit.php
parent7d7502675a6b352b5245518a2b57b354c6bc01b7 (diff)
downloadboards-a661dfbb487791f592c98aadc44c4c90ac072fcf.tar.gz
boards-a661dfbb487791f592c98aadc44c4c90ac072fcf.tar.bz2
boards-a661dfbb487791f592c98aadc44c4c90ac072fcf.zip
BIG CHANGE: migrate p_*_edit permissions to p_*_update permission naming convention, hasEditPermission is now hasUpdatePermission, many explicit perm checks have been cleaned up to hasUpdatePermission
Diffstat (limited to 'edit.php')
-rw-r--r--edit.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/edit.php b/edit.php
index 664db0a..5b0299c 100644
--- a/edit.php
+++ b/edit.php
@@ -1,6 +1,6 @@
<?php
/**
- * $Header: /cvsroot/bitweaver/_bit_boards/edit.php,v 1.13 2008/10/03 17:20:15 wjames5 Exp $
+ * $Header: /cvsroot/bitweaver/_bit_boards/edit.php,v 1.14 2008/10/20 21:40:09 spiderr Exp $
* Copyright (c) 2004 bitweaver Messageboards
* 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.
@@ -24,7 +24,7 @@ require_once(BOARDS_PKG_PATH.'lookup_inc.php' );
//must be owner or admin to edit an existing board
if( $gContent->isValid() ) {
- $gContent->verifyEditPermission();
+ $gContent->verifyUpdatePermission();
} else {
$gContent->verifyCreatePermission();
}