mirror of
https://github.com/friendica/friendica
synced 2025-04-22 01:50:11 +00:00
Merge pull request #8697 from MrPetovan/task/8691-like-links-one-way
Make like links one way
This commit is contained in:
commit
235f4eaa89
16 changed files with 137 additions and 102 deletions
|
@ -22,6 +22,7 @@
|
|||
namespace Friendica\Module;
|
||||
|
||||
use Friendica\BaseModule;
|
||||
use Friendica\Core\System;
|
||||
use Friendica\DI;
|
||||
use Friendica\Model\Item;
|
||||
use Friendica\Core\Session;
|
||||
|
@ -68,5 +69,7 @@ class Like extends BaseModule
|
|||
|
||||
DI::baseUrl()->redirect($returnPath . $rand);
|
||||
}
|
||||
|
||||
System::jsonExit(['status' => 'OK']);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue