remove duplicated line

Address @splitbrain 's comment on my booboo
This commit is contained in:
Mark Prins
2014-01-13 18:05:48 +01:00
parent 042474248c
commit 299d6ec305

View File

@ -151,7 +151,6 @@ class syntax_plugin_gallery extends DokuWiki_Syntax_Plugin {
$R->doc .= $this->_gallery($data);
return true;
}elseif($mode == 'metadata'){
$files = $this->_findimages($data);
$rel = p_get_metadata($ID,'relation',METADATA_RENDER_USING_CACHE);
$img = $rel['firstimage'];
if(empty($img)){