1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 05:50:42 +02:00

[ticket/11150] Add missing language keys

PHPBB3-11150
This commit is contained in:
Tristan Darricau
2015-09-15 14:24:06 +02:00
committed by Tristan Darricau
parent 9b69cd74ae
commit 0a809fb90e
6 changed files with 37 additions and 8 deletions

View File

@@ -271,6 +271,14 @@ class manager implements manager_interface
throw new \phpbb\exception\runtime_exception('COMPOSER_UNSUPPORTED_OPERATION', (array) $this->package_type);
}
/**
* {@inheritdoc}
*/
public function check_requirements()
{
return true;
}
protected function normalize_version($packages)
{
$normalized_packages = [];

View File

@@ -89,4 +89,11 @@ interface manager_interface
* @throws runtime_exception
*/
public function start_managing($package, $io);
/**
* Checks the requirements of the manager and returns true if it can be used.
*
* @return bool
*/
public function check_requirements();
}