Merge pull request #2324 from yashodha/4.4
[civicrm-core.git] / CRM / Member / PseudoConstant.php
index 8b50539645f72d8d21597b5ab1bfd48b32a91ea5..24a88aba740e978cdc0750d1160da5aca6b7ff0e 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 /*
  +--------------------------------------------------------------------+
- | CiviCRM version 4.3                                                |
+ | CiviCRM version 4.4                                                |
  +--------------------------------------------------------------------+
  | Copyright CiviCRM LLC (c) 2004-2013                                |
  +--------------------------------------------------------------------+
@@ -125,7 +125,7 @@ class CRM_Member_PseudoConstant extends CRM_Core_PseudoConstant {
    * @param boolean $name pseudoconstant to be flushed
    *
    */
-  public static function flush($name) {
+  public static function flush($name = 'cache') {
    if (isset(self::$$name)) {
       self::$$name = NULL;
     }