Happening::saveNew() is static

This commit is contained in:
Evan Prodromou 2011-07-01 23:03:41 -04:00
parent c37c303b14
commit 66edc023d7

View 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']);