forked from GNUsocial/gnu-social
Happening::saveNew() is static
This commit is contained in:
parent
c37c303b14
commit
66edc023d7
@ -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)) {
|
if (array_key_exists('uri', $options)) {
|
||||||
$other = Happening::staticGet('uri', $options['uri']);
|
$other = Happening::staticGet('uri', $options['uri']);
|
||||||
|
Loading…
Reference in New Issue
Block a user