forked from GNUsocial/gnu-social
fixup bad class constant in Notice
This commit is contained in:
parent
7f2f333528
commit
a28a6d2f72
@ -507,7 +507,7 @@ class Notice extends Managed_DataObject
|
|||||||
if (empty($verb)) {
|
if (empty($verb)) {
|
||||||
if (!empty($notice->repeat_of)) {
|
if (!empty($notice->repeat_of)) {
|
||||||
$notice->verb = ActivityVerb::SHARE;
|
$notice->verb = ActivityVerb::SHARE;
|
||||||
$notice->object_type = ActivityVerb::ACTIVITY;
|
$notice->object_type = ActivityObject::ACTIVITY;
|
||||||
} else {
|
} else {
|
||||||
$notice->verb = ActivityVerb::POST;
|
$notice->verb = ActivityVerb::POST;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user