aboutsummaryrefslogtreecommitdiffstats
path: root/mod/wall_attach.php
diff options
context:
space:
mode:
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