summaryrefslogtreecommitdiff
path: root/inc/parser
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2014-05-24 11:18:08 +0200
committerAndreas Gohr <andi@splitbrain.org>2014-05-24 11:18:08 +0200
commit2d338eab8c1f980abd8a8ee35b068b84750867a0 (patch)
tree831d5381ad8dfef571f4cd4c57a14c21e4d238c4 /inc/parser
parent05944b191cb76687caf34d869dc9c51b4672f4c1 (diff)
downloadrpg-2d338eab8c1f980abd8a8ee35b068b84750867a0.tar.gz
rpg-2d338eab8c1f980abd8a8ee35b068b84750867a0.tar.bz2
removed unset $cache parameter in _audio _video #698
Diffstat (limited to 'inc/parser')
-rw-r--r--inc/parser/xhtml.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/inc/parser/xhtml.php b/inc/parser/xhtml.php
index cf36a8175..e4afb9eb8 100644
--- a/inc/parser/xhtml.php
+++ b/inc/parser/xhtml.php
@@ -1297,7 +1297,7 @@ class Doku_Renderer_xhtml extends Doku_Renderer {
$poster = media_alternativefiles($src, array('jpg', 'png'), true);
$posterUrl = '';
if (!empty($poster)) {
- $posterUrl = ml(reset($poster),array('cache'=>$cache),true,'&');
+ $posterUrl = ml(reset($poster),'',true,'&');
}
$out = '';
@@ -1309,7 +1309,7 @@ class Doku_Renderer_xhtml extends Doku_Renderer {
// output source for each alternative video format
foreach($alternatives as $mime => $file) {
- $url = ml($file,array('cache'=>$cache),true,'&');
+ $url = ml($file,'',true,'&');
$title = $atts['title'] ? $atts['title'] : $this->_xmlEntities(utf8_basename(noNS($file)));
$out .= '<source src="'.hsc($url).'" type="'.$mime.'" />'.NL;
@@ -1345,7 +1345,7 @@ class Doku_Renderer_xhtml extends Doku_Renderer {
// output source for each alternative audio format
foreach($alternatives as $mime => $file) {
- $url = ml($file,array('cache'=>$cache),true,'&');
+ $url = ml($file,'',true,'&');
$title = $atts['title'] ? $atts['title'] : $this->_xmlEntities(utf8_basename(noNS($file)));
$out .= '<source src="'.hsc($url).'" type="'.$mime.'" />'.NL;