We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit 66edc023 authored by Evan Prodromou's avatar Evan Prodromou

Happening::saveNew() is static

parent c37c303b
......@@ -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']);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment