<?php
/*
+--------------------------------------------------------------------+
- | CiviCRM version 4.5 |
+ | CiviCRM version 4.6 |
+--------------------------------------------------------------------+
| Copyright CiviCRM LLC (c) 2004-2014 |
+--------------------------------------------------------------------+
/**
* Get all the membership types
*
- * @access public
*
* @param int $id
* @param bool $force
/**
* Get all the membership statuss
*
- * @access public
*
* @param int $id
* @param null $cond
* Flush given pseudoconstant so it can be reread from db
* next time it's requested.
*
- * @access public
* @static
*
* @param bool|string $name pseudoconstant to be flushed
*/
public static function flush($name = 'cache') {
- if (isset(self::$$name)) {
+ if (isset(self::$$name)) {
self::$$name = NULL;
- }
+ }
}
}
-