[pLog-svn] r5020 - plog/branches/lifetype-1.2/class/action/admin
oscar at devel.lifetype.net
oscar at devel.lifetype.net
Thu Mar 8 03:45:55 EST 2007
Author: oscar
Date: 2007-03-08 03:45:55 -0500 (Thu, 08 Mar 2007)
New Revision: 5020
Modified:
plog/branches/lifetype-1.2/class/action/admin/admindeletebloguserpermissionsaction.class.php
Log:
Remove all user permissions to the blog instead of just blog_access.
Modified: plog/branches/lifetype-1.2/class/action/admin/admindeletebloguserpermissionsaction.class.php
===================================================================
--- plog/branches/lifetype-1.2/class/action/admin/admindeletebloguserpermissionsaction.class.php 2007-03-08 08:32:33 UTC (rev 5019)
+++ plog/branches/lifetype-1.2/class/action/admin/admindeletebloguserpermissionsaction.class.php 2007-03-08 08:45:55 UTC (rev 5020)
@@ -59,10 +59,9 @@
$totalOk = 0;
$perms = new Permissions();
- $accessBlogPerm = $perms->getPermissionByName( "blog_access" );
foreach( $this->_userIds as $userId ) {
- $res = $userPermissions->revokePermission( $userId, $this->_blogInfo->getId(), $accessBlogPerm->getId());
+ $res = $userPermissions->revokePermissions( $userId, $this->_blogInfo->getId());
$userInfo = $users->getUserInfoFromId( $userId );
if( $res ) {
$totalOk++;
More information about the pLog-svn
mailing list