diff options
author | Harald Eilertsen <haraldei@anduin.net> | 2024-05-18 12:44:19 +0200 |
---|---|---|
committer | Harald Eilertsen <haraldei@anduin.net> | 2024-06-13 13:34:20 +0200 |
commit | 0d4c3fd215d27aec40fa65f5bea2ac72e34e605e (patch) | |
tree | 30a34014dcaf2594846848abe0f44353d402941f /Zotlabs/Module | |
parent | 62aefadc27002f9d47f391b15520a82d5c3d6ecc (diff) | |
download | volse-hubzilla-0d4c3fd215d27aec40fa65f5bea2ac72e34e605e.tar.gz volse-hubzilla-0d4c3fd215d27aec40fa65f5bea2ac72e34e605e.tar.bz2 volse-hubzilla-0d4c3fd215d27aec40fa65f5bea2ac72e34e605e.zip |
Module\Rpost: Remove unused local variables.
Diffstat (limited to 'Zotlabs/Module')
-rw-r--r-- | Zotlabs/Module/Rpost.php | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/Zotlabs/Module/Rpost.php b/Zotlabs/Module/Rpost.php index 4979fdd7c..1a17c3057 100644 --- a/Zotlabs/Module/Rpost.php +++ b/Zotlabs/Module/Rpost.php @@ -152,7 +152,7 @@ class Rpost extends \Zotlabs\Web\Controller { ); if($r) { require_once('include/security.php'); - $change = change_channel($r[0]['channel_id']); + change_channel($r[0]['channel_id']); } } @@ -165,8 +165,6 @@ class Rpost extends \Zotlabs\Web\Controller { goaway(z_root() . '/network'); } - $plaintext = true; - if(isset($_REQUEST['type']) && $_REQUEST['type'] === 'html') { require_once('include/html2bbcode.php'); $_REQUEST['body'] = html2bbcode($_REQUEST['body']); @@ -210,7 +208,6 @@ class Rpost extends \Zotlabs\Web\Controller { 'reset' => t('Reset form') ); - $a = ''; $editor = status_editor($x, false, 'Rpost'); $o .= replace_macros(get_markup_template('edpost_head.tpl'), array( |