The $options array isn't used here

This commit is contained in:
Mikael Nordfeldth 2016-01-04 01:48:54 +01:00
parent 34b25e6afc
commit f7a1c8a94c

View File

@ -185,11 +185,6 @@ class FavoritePlugin extends ActivityVerbHandlerPlugin
{
assert($this->isMyActivity($act));
// If empty, we should've created it ourselves on our node.
if (!isset($options['created'])) {
$options['created'] = !empty($act->time) ? common_sql_date($act->time) : common_sql_now();
}
// We must have an objects[0] here because in isMyActivity we require the count to be == 1
$actobj = $act->objects[0];