remove static CustomGroup array
This commit is contained in:
parent
b3b24681e5
commit
79febdf5fc
1 changed files with 0 additions and 10 deletions
|
@ -7,7 +7,6 @@ use CRM_Civirules_Utils_LoggerFactory as Civi;
|
||||||
|
|
||||||
class CustomGroup {
|
class CustomGroup {
|
||||||
|
|
||||||
private static $customGroups = [];
|
|
||||||
private $id;
|
private $id;
|
||||||
private $title;
|
private $title;
|
||||||
private $name;
|
private $name;
|
||||||
|
@ -26,8 +25,6 @@ class CustomGroup {
|
||||||
if (array_key_exists($var, $attributes))
|
if (array_key_exists($var, $attributes))
|
||||||
$this->$var = $attributes[$var];
|
$this->$var = $attributes[$var];
|
||||||
}
|
}
|
||||||
|
|
||||||
array_push(self::$customGroups, $this);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -217,13 +214,6 @@ class CustomGroup {
|
||||||
return $this->alter(['column_value', $column_value]);
|
return $this->alter(['column_value', $column_value]);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* @return array
|
|
||||||
*/
|
|
||||||
public static function getCustomGroups() {
|
|
||||||
return self::$customGroups;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @return string
|
* @return string
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue