From f7a1c8a94c38f9aebd39c344f2c329d8c50e426c Mon Sep 17 00:00:00 2001 From: Mikael Nordfeldth Date: Mon, 4 Jan 2016 01:48:54 +0100 Subject: [PATCH] The $options array isn't used here --- plugins/Favorite/FavoritePlugin.php | 5 ----- 1 file changed, 5 deletions(-) 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]; -- 2.39.5