From 66edc023d742355db4e6811bd37d9fa177346027 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Fri, 1 Jul 2011 23:03:41 -0400 Subject: [PATCH] Happening::saveNew() is static --- plugins/Event/Happening.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/Event/Happening.php b/plugins/Event/Happening.php index a2811252c0..840f1f0061 100644 --- a/plugins/Event/Happening.php +++ b/plugins/Event/Happening.php @@ -116,7 +116,7 @@ class Happening extends Managed_DataObject ); } - function saveNew($profile, $start_time, $end_time, $title, $location, $description, $url, $options=array()) + static function saveNew($profile, $start_time, $end_time, $title, $location, $description, $url, $options=array()) { if (array_key_exists('uri', $options)) { $other = Happening::staticGet('uri', $options['uri']); -- 2.39.5