summaryrefslogtreecommitdiff
path: root/module_controls_inc.php
diff options
context:
space:
mode:
authorMax Kremmel <xing@synapse.plus.com>2006-04-11 13:10:19 +0000
committerMax Kremmel <xing@synapse.plus.com>2006-04-11 13:10:19 +0000
commit94619f4a967b8d8b57bcf59738b8b811771b7b9c (patch)
tree433482f7854a3be943b3d0dcbf28d0dbe9e0acff /module_controls_inc.php
parent0dcede880f6b2197631ddfba212140ee2c65e349 (diff)
downloadusers-94619f4a967b8d8b57bcf59738b8b811771b7b9c.tar.gz
users-94619f4a967b8d8b57bcf59738b8b811771b7b9c.tar.bz2
users-94619f4a967b8d8b57bcf59738b8b811771b7b9c.zip
rename permissions to new standard using: p_<package>_<verb>_[<noun>]
Diffstat (limited to 'module_controls_inc.php')
-rw-r--r--module_controls_inc.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/module_controls_inc.php b/module_controls_inc.php
index da326b4..0fb3573 100644
--- a/module_controls_inc.php
+++ b/module_controls_inc.php
@@ -1,6 +1,6 @@
<?php
/**
- * @version $Header: /cvsroot/bitweaver/_bit_users/module_controls_inc.php,v 1.4 2005/11/22 07:28:24 squareing Exp $
+ * @version $Header: /cvsroot/bitweaver/_bit_users/module_controls_inc.php,v 1.5 2006/04/11 13:10:18 squareing Exp $
* @package users
* @subpackage functions
*
@@ -10,7 +10,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: module_controls_inc.php,v 1.4 2005/11/22 07:28:24 squareing Exp $
+ * $Id: module_controls_inc.php,v 1.5 2006/04/11 13:10:18 squareing Exp $
*/
/**
@@ -20,7 +20,7 @@ $check_req = (isset($_REQUEST["mc_unassign"])
|| isset($_REQUEST["mc_up"])
|| isset($_REQUEST["mc_down"])
|| isset($_REQUEST["mc_move"]));
-if (!$gBitUser->hasPermission( 'bit_p_configure_modules' ) && $check_req) {
+if (!$gBitUser->hasPermission( 'p_tidbits_configure_modules' ) && $check_req) {
$gBitSmarty->assign('msg', tra("You dont have permission to use this feature"));
$gBitSystem->display( 'error.tpl' );
die;