Minor - Remove a useless commented line - refs #7272

1.9.x
Imanol Losada 11 years ago
parent 222ed28c7b
commit 1f565793d0
  1. 1
      plugin/buycourses/src/index.buycourses.php

@ -26,7 +26,6 @@ if ($guess_enable == "true" || isset($_SESSION['_user'])) {
$listing_tpl = 'buycourses/view/index.tpl';
$content = $tpl->fetch($listing_tpl);
$tpl->assign('content', $content);
//$matches = null;
preg_match_all('/src\/.*\.php/', $content, $matches);
count($matches[0]) > 1 ? $tpl->display_one_col_template() : header('Location: '.$matches[0][0]);
}

Loading…
Cancel
Save