aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Lib
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2024-06-10 08:02:32 +0000
committerMario <mario@mariovavti.com>2024-06-10 08:02:32 +0000
commit9348bd6ea5bc8573201ed773c1de26949dd1b510 (patch)
tree343ecba25ff304a872c1dfcb9a517f93705b5095 /Zotlabs/Lib
parentbd5f77dbeb4ec92bdbe3aba3a8ef05c5296edbc0 (diff)
downloadvolse-hubzilla-9348bd6ea5bc8573201ed773c1de26949dd1b510.tar.gz
volse-hubzilla-9348bd6ea5bc8573201ed773c1de26949dd1b510.tar.bz2
volse-hubzilla-9348bd6ea5bc8573201ed773c1de26949dd1b510.zip
remove unused variable and superfluous backslash
Diffstat (limited to 'Zotlabs/Lib')
-rw-r--r--Zotlabs/Lib/ThreadItem.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/Zotlabs/Lib/ThreadItem.php b/Zotlabs/Lib/ThreadItem.php
index 290a7b0c2..eb1020cd2 100644
--- a/Zotlabs/Lib/ThreadItem.php
+++ b/Zotlabs/Lib/ThreadItem.php
@@ -44,8 +44,6 @@ class ThreadItem {
$this->toplevel = ($this->get_id() == $this->get_data_value('parent'));
$this->threaded = Config::Get('system','thread_allow');
- $observer = \App::get_observer();
-
// Prepare the children
if(isset($data['children'])) {
@@ -875,7 +873,7 @@ class ThreadItem {
'$feature_encrypt' => ((feature_enabled($conv->get_profile_owner(),'content_encrypt')) ? true : false),
'$encrypt' => t('Encrypt text'),
'$cipher' => $conv->get_cipher(),
- '$sourceapp' => \App::$sourcename,
+ '$sourceapp' => App::$sourcename,
'$observer' => get_observer_hash(),
'$anoncomments' => ((in_array($conv->get_mode(), ['channel', 'display', 'cards', 'articles']) && perm_is_allowed($conv->get_profile_owner(),'','post_comments')) ? true : false),
'$anonname' => [ 'anonname', t('Your full name (required)') ],