From: Mikael Nordfeldth Date: Mon, 4 Jan 2016 00:48:54 +0000 (+0100) Subject: The $options array isn't used here X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=f7a1c8a94c38f9aebd39c344f2c329d8c50e426c;p=quix0rs-gnu-social.git The $options array isn't used here --- diff --git a/plugins/Favorite/FavoritePlugin.php b/plugins/Favorite/FavoritePlugin.php index 36fa3dc44a..aa1e2e339a 100644 --- a/plugins/Favorite/FavoritePlugin.php +++ b/plugins/Favorite/FavoritePlugin.php @@ -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];