phpBB

Code Changes

File: phpbb/console/command/extension/enable.php

  Unmodified   Added   Modified   Removed
Line 37Line 37
		$io = new SymfonyStyle($input, $output);

$name = $input->getArgument('extension-name');

		$io = new SymfonyStyle($input, $output);

$name = $input->getArgument('extension-name');

 

if ($this->manager->is_enabled($name))
{
$io->error($this->user->lang('CLI_EXTENSION_ENABLED', $name));
return 2;
}


		$this->manager->enable($name);
$this->manager->load_extensions();


		$this->manager->enable($name);
$this->manager->load_extensions();