CRM-21466 follow up, add unit test to ensure custom fields can be populated.
[civicrm-core.git] / CRM / Core / OptionGroup.php
index 89c8eb13d97ae630122f725bb287e2cf6ae889a5..250c93cff309723831aec292d907c1066d97aec0 100644 (file)
@@ -676,6 +676,12 @@ WHERE  v.option_group_id = g.id
     );
   }
 
+  /**
+   * Flush all the places where option values are cached.
+   *
+   * Note that this is called from CRM_Core_PseudoConstant::flush() so we should resist
+   * the intuitive urge to flush that class.
+   */
   public static function flushAll() {
     self::$_values = array();
     self::$_cache = array();