* @param bool $allStatus
*
* @return array
- * array reference of all membership statuses if any
+ * array reference of all membership statuses if any
*/
public static function &membershipStatus($id = NULL, $cond = NULL, $column = 'name', $force = FALSE, $allStatus = FALSE) {
if (self::$membershipStatus === NULL) {
if (isset(self::$$name)) {
self::$$name = NULL;
}
+ // The preferred source of membership pseudoconstants is in fact the Core class.
+ // which buildOptions accesses - better flush that too.
+ CRM_Core_PseudoConstant::flush();
}
}