summaryrefslogtreecommitdiff
path: root/edit.php
diff options
context:
space:
mode:
authorChristian Fowler <spider@viovio.com>2008-10-20 21:40:10 +0000
committerChristian Fowler <spider@viovio.com>2008-10-20 21:40:10 +0000
commit549f519e6f15e272d740b1a758c4b7cb0d23ddf8 (patch)
treee69c38c934911e4cea61fcceba3328506a367f3f /edit.php
parent5ddff92e7ef2674c5e533fa1d368c9f3caa3202a (diff)
downloadfisheye-549f519e6f15e272d740b1a758c4b7cb0d23ddf8.tar.gz
fisheye-549f519e6f15e272d740b1a758c4b7cb0d23ddf8.tar.bz2
fisheye-549f519e6f15e272d740b1a758c4b7cb0d23ddf8.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 7f4f670..7901b55 100644
--- a/edit.php
+++ b/edit.php
@@ -1,6 +1,6 @@
<?php
/**
- * @version $Header: /cvsroot/bitweaver/_bit_fisheye/edit.php,v 1.30 2008/10/03 17:20:15 wjames5 Exp $
+ * @version $Header: /cvsroot/bitweaver/_bit_fisheye/edit.php,v 1.31 2008/10/20 21:40:10 spiderr Exp $
* @package fisheye
* @subpackage functions
*/
@@ -19,7 +19,7 @@ include_once( FISHEYE_PKG_PATH.'gallery_lookup_inc.php' );
// Ensure the user has the permission to create new image galleries
if( $gContent->isValid() ){
- $gContent->verifyEditPermission();
+ $gContent->verifyUpdatePermission();
}else{
$gContent->verifyCreatePermission();
}