fixup bad class constant in Notice

This commit is contained in:
Evan Prodromou 2011-09-19 16:11:43 -04:00
parent 7f2f333528
commit a28a6d2f72

View File

@ -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;
} }