[ticket/14269] Fix comments and language var names

PHPBB3-14269
This commit is contained in:
Mate Bartus 2015-12-03 20:31:49 +01:00
parent 93b37b24c2
commit 02a9264780
4 changed files with 6 additions and 6 deletions

View file

@ -83,8 +83,8 @@ $lang = array_merge($lang, array(
'ACP_LINK' => 'Take me to <a href="%1$s">the ACP</a>', 'ACP_LINK' => 'Take me to <a href="%1$s">the ACP</a>',
'INSTALL_PHPBB_IS_ALREADY_INSTALLED' => 'phpBB is already installed.', 'INSTALL_PHPBB_INSTALLED' => 'phpBB is already installed.',
'INSTALL_PHPBB_IS_NOT_INSTALLED' => 'phpBB is not installed yet.' 'INSTALL_PHPBB_NOT_INSTALLED' => 'phpBB is not installed yet.'
)); ));
// Requirements translation // Requirements translation

View file

@ -105,7 +105,7 @@ class install
{ {
if ($this->install_helper->is_phpbb_installed()) if ($this->install_helper->is_phpbb_installed())
{ {
throw new http_exception(404, 'INSTALL_PHPBB_IS_ALREADY_INSTALLED'); throw new http_exception(404, 'INSTALL_PHPBB_INSTALLED');
} }
$this->template->assign_vars(array( $this->template->assign_vars(array(

View file

@ -103,7 +103,7 @@ class update
{ {
if (!$this->install_helper->is_phpbb_installed()) if (!$this->install_helper->is_phpbb_installed())
{ {
throw new http_exception(404, 'INSTALL_PHPBB_IS_NOT_INSTALLED'); throw new http_exception(404, 'INSTALL_PHPBB_NOT_INSTALLED');
} }
$this->template->assign_vars(array( $this->template->assign_vars(array(

View file

@ -112,9 +112,9 @@ class kernel_exception_subscriber implements EventSubscriberInterface
} }
/** /**
* Returns an array of the events the object is subscribed to * Returns an array of events the object is subscribed to
* *
* @return array Array of the events the object is subscribed to * @return array Array of events the object is subscribed to
*/ */
static public function getSubscribedEvents() static public function getSubscribedEvents()
{ {