aboutsummaryrefslogtreecommitdiffstats
path: root/mod/fbrowser.php
diff options
context:
space:
mode:
authorredmatrix <redmatrix@redmatrix.me>2015-12-08 16:32:06 -0800
committerredmatrix <redmatrix@redmatrix.me>2015-12-08 16:32:06 -0800
commit29ac533cc908a57115d52a8659bce348b36ae6fa (patch)
tree6b3995430ae369e319cd64094c2acaca3f809a09 /mod/fbrowser.php
parent79340c514715b5353333d8882fba450c9e42cc7e (diff)
downloadvolse-hubzilla-29ac533cc908a57115d52a8659bce348b36ae6fa.tar.gz
volse-hubzilla-29ac533cc908a57115d52a8659bce348b36ae6fa.tar.bz2
volse-hubzilla-29ac533cc908a57115d52a8659bce348b36ae6fa.zip
remove some unused stuff
Diffstat (limited to 'mod/fbrowser.php')
-rw-r--r--mod/fbrowser.php9
1 files changed, 2 insertions, 7 deletions
diff --git a/mod/fbrowser.php b/mod/fbrowser.php
index 90b554edd..13abbfd8a 100644
--- a/mod/fbrowser.php
+++ b/mod/fbrowser.php
@@ -57,13 +57,8 @@ function fbrowser_content($a){
$types = $ph->supportedTypes();
$ext = $types[$rr['type']];
- if($a->get_template_engine() === 'internal') {
- $filename_e = template_escape($rr['filename']);
- }
- else {
- $filename_e = $rr['filename'];
- }
-
+ $filename_e = $rr['filename'];
+
return array(
$a->get_baseurl() . '/photo/' . $rr['resource_id'] . '-' . $rr['hiq'] . '.' .$ext,
$filename_e,