The $options array isn't used here
authorMikael Nordfeldth <mmn@hethane.se>
Mon, 4 Jan 2016 00:48:54 +0000 (01:48 +0100)
committerMikael Nordfeldth <mmn@hethane.se>
Mon, 4 Jan 2016 00:48:54 +0000 (01:48 +0100)
plugins/Favorite/FavoritePlugin.php

index 36fa3dc44add252ea68f7ef439dfc6ad8b82ad9c..aa1e2e339a904170b5d96547d6777004f678baa1 100644 (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];