aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Lib/ThreadItem.php
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2025-05-27 08:31:37 +0000
committerMario <mario@mariovavti.com>2025-05-27 08:31:37 +0000
commit7cd44e2112183c55570134961d3d97dba02cf8c1 (patch)
treedb0da517b686075ec67e27dfd31df6b96fe3131a /Zotlabs/Lib/ThreadItem.php
parent3a3ae2b20420c84c1d04f7cc687503ed142b80c5 (diff)
downloadvolse-hubzilla-7cd44e2112183c55570134961d3d97dba02cf8c1.tar.gz
volse-hubzilla-7cd44e2112183c55570134961d3d97dba02cf8c1.tar.bz2
volse-hubzilla-7cd44e2112183c55570134961d3d97dba02cf8c1.zip
minor cleanup
Diffstat (limited to 'Zotlabs/Lib/ThreadItem.php')
-rw-r--r--Zotlabs/Lib/ThreadItem.php9
1 files changed, 3 insertions, 6 deletions
diff --git a/Zotlabs/Lib/ThreadItem.php b/Zotlabs/Lib/ThreadItem.php
index ee74ffa60..cba7cf947 100644
--- a/Zotlabs/Lib/ThreadItem.php
+++ b/Zotlabs/Lib/ThreadItem.php
@@ -354,12 +354,9 @@ class ThreadItem {
$load_more = '';
$load_more_title = '';
if ($toplevel_comments_total > $total_children) {
- if (is_site_admin()) {
- // provide a load more comments button
- $load_more = t('Load more');
- $load_more_title = sprintf(t('Load more of %d replies'), $toplevel_comments_total);
-
- }
+ // provide a load more comments button
+ $load_more = t('Load more');
+ $load_more_title = sprintf(t('Load more of %d replies'), $toplevel_comments_total);
}
$tmp_item = array(