diff options
author | redmatrix <redmatrix@redmatrix.me> | 2015-12-08 16:32:06 -0800 |
---|---|---|
committer | redmatrix <redmatrix@redmatrix.me> | 2015-12-08 16:32:06 -0800 |
commit | 29ac533cc908a57115d52a8659bce348b36ae6fa (patch) | |
tree | 6b3995430ae369e319cd64094c2acaca3f809a09 /mod | |
parent | 79340c514715b5353333d8882fba450c9e42cc7e (diff) | |
download | volse-hubzilla-29ac533cc908a57115d52a8659bce348b36ae6fa.tar.gz volse-hubzilla-29ac533cc908a57115d52a8659bce348b36ae6fa.tar.bz2 volse-hubzilla-29ac533cc908a57115d52a8659bce348b36ae6fa.zip |
remove some unused stuff
Diffstat (limited to 'mod')
-rw-r--r-- | mod/fbrowser.php | 9 | ||||
-rw-r--r-- | mod/photos.php | 7 |
2 files changed, 3 insertions, 13 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, diff --git a/mod/photos.php b/mod/photos.php index 5b3367d40..b0d9bc631 100644 --- a/mod/photos.php +++ b/mod/photos.php @@ -698,12 +698,7 @@ function photos_content(&$a) { $album_edit = null; if(($album !== t('Profile Photos')) && ($album !== 'Profile Photos') && ($album !== 'Contact Photos') && ($album !== t('Contact Photos'))) { if($can_post) { - if($a->get_template_engine() === 'internal') { - $album_e = template_escape($album); - } - else { - $album_e = $album; - } + $album_e = $album; $albums = ((array_key_exists('albums', $a->data)) ? $a->data['albums'] : photos_albums_list($a->data['channel'],$a->data['observer'])); // @fixme - syncronise actions with DAV |