mirror of
https://github.com/friendica/friendica
synced 2025-04-24 01:50:17 +00:00
Several speed improvements (magiclink, caching, indexes)
This commit is contained in:
parent
251465f67a
commit
312c01a517
21 changed files with 119 additions and 86 deletions
|
@ -47,7 +47,7 @@ class ItemBody extends BaseModule
|
|||
throw new HTTPException\NotFoundException(DI::l10n()->t('Item not found.'));
|
||||
}
|
||||
|
||||
$item = Post::selectFirst(['body'], ['uid' => local_user(), 'id' => $itemId]);
|
||||
$item = Post::selectFirst(['body'], ['uid' => local_user(), 'uri-id' => $itemId]);
|
||||
|
||||
if (!empty($item)) {
|
||||
if (DI::mode()->isAjax()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue