FavorAction now uses Notice::saveActivity
This commit is contained in:
@@ -63,7 +63,7 @@ class FavoritePlugin extends ActivityHandlerPlugin
|
||||
' modified = "%s" '.
|
||||
'WHERE user_id = %d '.
|
||||
'AND notice_id = %d',
|
||||
Fave::newURI($fave->user_id, $fave->notice_id, $fave->modified),
|
||||
Fave::newUri($fave->user_id, $fave->notice_id, $fave->modified),
|
||||
common_sql_date(strtotime($fave->modified)),
|
||||
$fave->user_id,
|
||||
$fave->notice_id));
|
||||
@@ -171,7 +171,6 @@ class FavoritePlugin extends ActivityHandlerPlugin
|
||||
// more explicit catch-statement.
|
||||
return null;
|
||||
}
|
||||
common_debug(get_called_class().' returning '.get_class($object).' object with uri: '.$object->uri);
|
||||
return $object;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user