aboutsummaryrefslogtreecommitdiffstats
path: root/mod/wall_attach.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-11-05 01:25:08 -0800
committerfriendica <info@friendica.com>2012-11-05 01:25:08 -0800
commit2752b58f3323a15b964f6518b7720cb81ccf1b0e (patch)
tree6291006fdbe002d63adcca5a6c369457d10765e3 /mod/wall_attach.php
parent5f85f65dcc71c4fea12a2227b5773b991d19199f (diff)
downloadvolse-hubzilla-2752b58f3323a15b964f6518b7720cb81ccf1b0e.tar.gz
volse-hubzilla-2752b58f3323a15b964f6518b7720cb81ccf1b0e.tar.bz2
volse-hubzilla-2752b58f3323a15b964f6518b7720cb81ccf1b0e.zip
plaintext default - richtext is a feature
Diffstat (limited to 'mod/wall_attach.php')
-rw-r--r--mod/wall_attach.php7
1 files changed, 1 insertions, 6 deletions
diff --git a/mod/wall_attach.php b/mod/wall_attach.php
index 1b539031b..5d9331ed0 100644
--- a/mod/wall_attach.php
+++ b/mod/wall_attach.php
@@ -135,12 +135,7 @@ function wall_attach_post(&$a) {
killme();
}
- $lf = '<br />';
-
- if(local_user() && intval(get_pconfig(local_user(),'system','plaintext')))
- $lf = "\n";
-
- echo $lf . $lf . '[attachment]' . $r[0]['hash'] . '[/attachment]' . $lf;
+ echo "\n\n" . '[attachment]' . $r[0]['hash'] . '[/attachment]' . "\n";
killme();
// NOTREACHED