summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCyrille Bollu <cyrpub@bollu.be>2019-07-10 18:44:56 +0200
committerCyrille Bollu <cyrpub@bollu.be>2019-07-10 18:44:56 +0200
commit3d1aba30a901dbbc87c0f7c248cbfb2d35573fab (patch)
tree37c04f7f7686af23a575548b22692b0e913f4da4
parentadace1855c25e17feca4f619517e557aae6978f4 (diff)
parent5e1ed83bd8a6177178512e3d63fdb3f132c9d33c (diff)
Merge branch 'StCyr_fix617' of https://github.com/StCyr/social into StCyr_fix617
-rw-r--r--lib/Service/LikeService.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Service/LikeService.php b/lib/Service/LikeService.php
index 4af98f34..044cf1c4 100644
--- a/lib/Service/LikeService.php
+++ b/lib/Service/LikeService.php
@@ -129,9 +129,9 @@ class LikeService {
throw new StreamNotFoundException('Stream is not a Note');
}
- if (!$note->isPublic()) {
- throw new StreamNotFoundException('Stream is not Public');
- }
+// if (!$note->isPublic()) {
+// throw new StreamNotFoundException('Stream is not Public');
+// }
$like->setObjectId($note->getId());
$this->assignInstance($like, $actor, $note);