From: Evan Prodromou Date: Sat, 2 Jul 2011 03:03:41 +0000 (-0400) Subject: Happening::saveNew() is static X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=66edc023d742355db4e6811bd37d9fa177346027;p=quix0rs-gnu-social.git Happening::saveNew() is static --- 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']);