----------------------------------------
* CRM-14120: Notice Notice: Only variable references should be returned by reference in event() (line 122 of /srv/www/womenslibrary.org.uk/sites/all/modules/civicrm/CRM/Event/PseudoConstant.php).
http://issues.civicrm.org/jira/browse/CRM-14120
*
* @access public
*
- * @return array - array reference of all events if any
+ * @return array - array of all events if any
* @static
*/
- public static function &event($id = NULL, $all = FALSE, $condition = NULL) {
+ public static function event($id = NULL, $all = FALSE, $condition = NULL) {
$key = "{$id}_{$all}_{$condition}";
if (!isset(self::$event[$key])) {