if ( ! ($group->usesPlugin ( $pluginname )) ) {//check if the group has the SoapAdmin plugin active
exit_error("Error", "First activate the $pluginname plugin through the Project's Admin Interface");
}
- $userperm = $group->getPermission($user);//we'll check if the user belongs to the group (optional)
+ $userperm = $group->getPermission();//we'll check if the user belongs to the group (optional)
if ( !$userperm->IsMember()) {
exit_error("Access Denied", "You are not a member of this project");
}
if ( ! ($group->usesPlugin ( $pluginname )) ) {//check if the group has the SoapAdmin plugin active
exit_error("Error", "First activate the $pluginname plugin through the Project's Admin Interface");
}
- $userperm = $group->getPermission($user);//we'll check if the user belongs to the group
+ $userperm = $group->getPermission();//we'll check if the user belongs to the group
if ( !$userperm->IsMember()) {
exit_error("Access Denied", "You are not a member of this project");
}
if ( ! ($group->usesPlugin ( $pluginname )) ) {//check if the group has the SoapAdmin plugin active
exit_error("Error", "First activate the $pluginname plugin through the Project's Admin Interface");
}
- $userperm = $group->getPermission($user);//we'll check if the user belongs to the group (optional)
+ $userperm = $group->getPermission();//we'll check if the user belongs to the group (optional)
if ( !$userperm->IsMember()) {
exit_error("Access Denied", "You are not a member of this project");
}
if ( ! ($group->usesPlugin ( $pluginname )) ) {//check if the group has the SoapAdmin plugin active
exit_error("Error", "First activate the $pluginname plugin through the Project's Admin Interface");
}
- $userperm = $group->getPermission($user);//we'll check if the user belongs to the group
+ $userperm = $group->getPermission();//we'll check if the user belongs to the group
if ( !$userperm->IsMember()) {
exit_error("Access Denied", "You are not a member of this project");
}