diff options
| author | wjames5 <will@tekimaki.com> | 2008-10-02 16:17:15 +0000 |
|---|---|---|
| committer | wjames5 <will@tekimaki.com> | 2008-10-02 16:17:15 +0000 |
| commit | e21af9ef06cba586402fb99e33ddbacc0eb2dc22 (patch) | |
| tree | 04ebafbfbd345f2cfa4afc63f46f2579ffa0236e /content_history_inc.php | |
| parent | e4acd7af9924fdb8cbdf7ff7936b12bc2dc721e2 (diff) | |
| download | liberty-e21af9ef06cba586402fb99e33ddbacc0eb2dc22.tar.gz liberty-e21af9ef06cba586402fb99e33ddbacc0eb2dc22.tar.bz2 liberty-e21af9ef06cba586402fb99e33ddbacc0eb2dc22.zip | |
rename verifyPermission to verifyUserPermission for nomenclature consistency among perm handlers
Diffstat (limited to 'content_history_inc.php')
| -rw-r--r-- | content_history_inc.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/content_history_inc.php b/content_history_inc.php index 258a0b3..003e7fd 100644 --- a/content_history_inc.php +++ b/content_history_inc.php @@ -1,6 +1,6 @@ <?php /** - * @version $Revision: 1.17 $ + * @version $Revision: 1.18 $ * @package liberty * @subpackage functions */ @@ -75,7 +75,7 @@ if( isset( $_REQUEST["delete"] ) && isset( $_REQUEST["hist"] )) { $gBitSmarty->assign_by_ref( 'version_from', $from_version ); } elseif( @BitBase::verifyId( $_REQUEST["rollback"] )) { - $gContent->verifyPermission( !empty( $rollbackPerm ) ? $rollbackPerm : $gContent->mEditContentPerm ); + $gContent->verifyContentPermission( !empty( $rollbackPerm ) ? $rollbackPerm : $gContent->mEditContentPerm ); if( !isset( $_REQUEST["rollback_comment"] )) { $_REQUEST["rollback_comment"] = ''; } |
