Commit 282c8405 authored by Côme Chilliet's avatar Côme Chilliet
Browse files

Fixes #4927 Removed membership options from Community projects

parent 9a32fd8e
......@@ -38,7 +38,7 @@ class communityOrganization extends simplePlugin
{
global $config;
return array(
'main' => array(
'membership' => array(
'name' => _('Membership'),
'attrs' => array(
new SelectAttribute (
......
......@@ -36,7 +36,7 @@ class communityProject extends communityOrganization
static function getAttributesInfo ()
{
return array_merge(
$infos = array_merge(
array(
'project' => array(
'name' => _('Project'),
......@@ -54,6 +54,8 @@ class communityProject extends communityOrganization
),
parent::getAttributesInfo()
);
unset($infos['membership']);
return $infos;
}
}
?>
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment