mirror of
https://github.com/friendica/friendica
synced 2024-11-10 05:42:54 +00:00
Merge pull request #12190 from annando/no-view
Fix memory issue on displaying conversations
This commit is contained in:
commit
5204d79dee
2 changed files with 3 additions and 1 deletions
|
@ -970,7 +970,7 @@ class Conversation
|
||||||
}
|
}
|
||||||
|
|
||||||
$condition = DBA::mergeConditions($condition,
|
$condition = DBA::mergeConditions($condition,
|
||||||
["`uid` IN (0, ?) AND (`vid` != ? OR `vid` IS NULL)", $uid, Verb::getID(Activity::FOLLOW)]);
|
["`uid` IN (0, ?) AND (NOT `vid` IN (?, ?) OR `vid` IS NULL)", $uid, Verb::getID(Activity::FOLLOW), Verb::getID(Activity::VIEW)]);
|
||||||
|
|
||||||
$thread_parents = Post::select(['uri-id', 'causer-id'], $condition, ['order' => ['uri-id' => false, 'uid']]);
|
$thread_parents = Post::select(['uri-id', 'causer-id'], $condition, ['order' => ['uri-id' => false, 'uid']]);
|
||||||
|
|
||||||
|
|
|
@ -200,6 +200,8 @@ class Summary extends BaseAdmin
|
||||||
$server_settings = [
|
$server_settings = [
|
||||||
'label' => DI::l10n()->t('Server Settings'),
|
'label' => DI::l10n()->t('Server Settings'),
|
||||||
'php' => [
|
'php' => [
|
||||||
|
'version' => phpversion(),
|
||||||
|
'php.ini' => php_ini_loaded_file(),
|
||||||
'upload_max_filesize' => ini_get('upload_max_filesize'),
|
'upload_max_filesize' => ini_get('upload_max_filesize'),
|
||||||
'post_max_size' => ini_get('post_max_size'),
|
'post_max_size' => ini_get('post_max_size'),
|
||||||
'memory_limit' => ini_get('memory_limit')
|
'memory_limit' => ini_get('memory_limit')
|
||||||
|
|
Loading…
Reference in a new issue