remove static CustomGroup array

This commit is contained in:
Marc Michalsky forumZFD 2020-09-29 08:45:18 +02:00
parent b3b24681e5
commit 79febdf5fc
Signed by untrusted user who does not match committer: marc.koch
GPG key ID: 12406554CFB028B9

View file

@ -7,7 +7,6 @@ use CRM_Civirules_Utils_LoggerFactory as Civi;
class CustomGroup {
private static $customGroups = [];
private $id;
private $title;
private $name;
@ -26,8 +25,6 @@ class CustomGroup {
if (array_key_exists($var, $attributes))
$this->$var = $attributes[$var];
}
array_push(self::$customGroups, $this);
}
/**
@ -217,13 +214,6 @@ class CustomGroup {
return $this->alter(['column_value', $column_value]);
}
/**
* @return array
*/
public static function getCustomGroups() {
return self::$customGroups;
}
/**
* @return string
*/