diff options
author | Harald Eilertsen <haraldei@anduin.net> | 2024-05-18 20:19:44 +0200 |
---|---|---|
committer | Harald Eilertsen <haraldei@anduin.net> | 2024-06-13 13:34:20 +0200 |
commit | 4e9432263adf555b30d49dfd9a731f86b82ad02b (patch) | |
tree | 4622918fdf249a2a567f45c35baa721ca1e875da | |
parent | 0d4c3fd215d27aec40fa65f5bea2ac72e34e605e (diff) | |
download | volse-hubzilla-4e9432263adf555b30d49dfd9a731f86b82ad02b.tar.gz volse-hubzilla-4e9432263adf555b30d49dfd9a731f86b82ad02b.tar.bz2 volse-hubzilla-4e9432263adf555b30d49dfd9a731f86b82ad02b.zip |
Module\Rpost: Remove obsolete local variable $o.
-rw-r--r-- | Zotlabs/Module/Rpost.php | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/Zotlabs/Module/Rpost.php b/Zotlabs/Module/Rpost.php index 1a17c3057..ba0588c25 100644 --- a/Zotlabs/Module/Rpost.php +++ b/Zotlabs/Module/Rpost.php @@ -28,16 +28,10 @@ require_once('include/conversation.php'); * type= choices are 'html' or 'bbcode', default is 'bbcode' * */ - - - - class Rpost extends \Zotlabs\Web\Controller { function get() { - $o = ''; - if(! local_channel()) { if(remote_channel()) { // redirect to your own site. @@ -210,14 +204,11 @@ class Rpost extends \Zotlabs\Web\Controller { $editor = status_editor($x, false, 'Rpost'); - $o .= replace_macros(get_markup_template('edpost_head.tpl'), array( + return replace_macros(get_markup_template('edpost_head.tpl'), array( '$title' => t('Edit post'), '$cancel' => '', '$editor' => $editor )); - - return $o; - } |