]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Happening::saveNew() is static
authorEvan Prodromou <evan@status.net>
Sat, 2 Jul 2011 03:03:41 +0000 (23:03 -0400)
committerEvan Prodromou <evan@status.net>
Sat, 2 Jul 2011 03:03:41 +0000 (23:03 -0400)
plugins/Event/Happening.php

index a2811252c00c998e51f1338f1cc2b09c1f015e8f..840f1f00617116c35c3ce836435fa2632c3c4be0 100644 (file)
@@ -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']);