diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2016-10-28 21:46:28 +0200 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2016-10-28 21:46:28 +0200 |
commit | 740659a04c28f8b2bfd9265d459dd3bca202300f (patch) | |
tree | d800c3896184bdfc00333f4067c4d567b8ab6d4b /lib/private/Setup | |
parent | f2cae3cee127220a5fde2726af8074837ee81ed1 (diff) | |
download | nextcloud-server-740659a04c28f8b2bfd9265d459dd3bca202300f.tar.gz nextcloud-server-740659a04c28f8b2bfd9265d459dd3bca202300f.zip |
Move away from OC_L10N
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'lib/private/Setup')
-rw-r--r-- | lib/private/Setup/AbstractDatabase.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/private/Setup/AbstractDatabase.php b/lib/private/Setup/AbstractDatabase.php index 47c3e5ee1c6..2b9d7afb367 100644 --- a/lib/private/Setup/AbstractDatabase.php +++ b/lib/private/Setup/AbstractDatabase.php @@ -29,12 +29,13 @@ namespace OC\Setup; use OC\AllConfig; use OC\DB\ConnectionFactory; use OCP\IConfig; +use OCP\IL10N; use OCP\ILogger; use OCP\Security\ISecureRandom; abstract class AbstractDatabase { - /** @var \OC_L10N */ + /** @var IL10N */ protected $trans; /** @var string */ protected $dbDefinitionFile; @@ -57,7 +58,7 @@ abstract class AbstractDatabase { /** @var ISecureRandom */ protected $random; - public function __construct($trans, $dbDefinitionFile, IConfig $config, ILogger $logger, ISecureRandom $random) { + public function __construct(IL10N $trans, $dbDefinitionFile, IConfig $config, ILogger $logger, ISecureRandom $random) { $this->trans = $trans; $this->dbDefinitionFile = $dbDefinitionFile; $this->config = $config; |