diff options
author | Mario <mario@mariovavti.com> | 2021-10-12 11:25:44 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2021-10-12 11:25:44 +0000 |
commit | 3e503ec3a35e4226a566c1986bf570afc7c8a53f (patch) | |
tree | 36ac7c4941af669010e7684f77324be24b610bee /Zotlabs/Module/Notes.php | |
parent | e455fae334c4b5f8d5a563e099add1482749c92f (diff) | |
download | volse-hubzilla-3e503ec3a35e4226a566c1986bf570afc7c8a53f.tar.gz volse-hubzilla-3e503ec3a35e4226a566c1986bf570afc7c8a53f.tar.bz2 volse-hubzilla-3e503ec3a35e4226a566c1986bf570afc7c8a53f.zip |
Revert "httpsig: add parentheses"
This reverts commit e455fae334c4b5f8d5a563e099add1482749c92f.
Diffstat (limited to 'Zotlabs/Module/Notes.php')
-rw-r--r-- | Zotlabs/Module/Notes.php | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/Zotlabs/Module/Notes.php b/Zotlabs/Module/Notes.php index 57b8f30db..6e8e03f20 100644 --- a/Zotlabs/Module/Notes.php +++ b/Zotlabs/Module/Notes.php @@ -19,12 +19,7 @@ class Notes extends Controller { if(! Apps::system_app_installed(local_channel(), 'Notes')) return EMPTY_STR; - $ret = [ - 'success' => false, - 'html' => '' - ]; - - + $ret = array('success' => true); if(array_key_exists('note_text',$_REQUEST)) { $body = escape_tags($_REQUEST['note_text']); @@ -38,10 +33,6 @@ class Notes extends Controller { set_pconfig(local_channel(),'notes','text.bak',$old_text); } set_pconfig(local_channel(),'notes','text',$body); - - $ret['html'] = bbcode($body); - $ret['success'] = true; - } // push updates to channel clones |