projects
/
quix0rs-gnu-social.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
34b25e6
)
The $options array isn't used here
author
Mikael Nordfeldth
<mmn@hethane.se>
Mon, 4 Jan 2016 00:48:54 +0000
(
01:48
+0100)
committer
Mikael Nordfeldth
<mmn@hethane.se>
Mon, 4 Jan 2016 00:48:54 +0000
(
01:48
+0100)
plugins/Favorite/FavoritePlugin.php
patch
|
blob
|
history
diff --git
a/plugins/Favorite/FavoritePlugin.php
b/plugins/Favorite/FavoritePlugin.php
index 36fa3dc44add252ea68f7ef439dfc6ad8b82ad9c..aa1e2e339a904170b5d96547d6777004f678baa1 100644
(file)
--- 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];