[ticket/13807] Only output the header for diff

PHPBB3-13807
This commit is contained in:
Joas Schilling 2015-05-02 17:29:55 +02:00
parent 34141b576e
commit 45baaf6022

View file

@ -71,17 +71,18 @@ require __DIR__ . '/../phpbb/recursive_dot_prefix_filter_iterator.' . $phpEx;
switch ($action)
{
case 'all':
echo '__FORCETOC__' . "\n";
case 'diff':
if ($action === 'diff')
{
echo '== Event changes ==' . "\n";
}
$min_version = $extension;
$extension = isset($argv[3]) ? $argv[3] : null;
case 'all':
if ($action === 'all')
{
echo '__FORCETOC__' . "\n";
}
case 'php':
$exporter = new \phpbb\event\php_exporter($phpbb_root_path, $extension, $min_version);