Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/passman.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrantje <brantje@gmail.com>2016-10-08 01:02:16 +0300
committerbrantje <brantje@gmail.com>2016-10-08 01:02:16 +0300
commit1abe75c9595f340d6d7ba9ec9076ddae49f2c905 (patch)
tree9080635e2db629da881835ba66dfe0a4d3816731 /lib/Activity.php
parentbbcee2243152c9dba2456547a7081b581f96af97 (diff)
Fix travis errors in Activity class
Diffstat (limited to 'lib/Activity.php')
-rw-r--r--lib/Activity.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Activity.php b/lib/Activity.php
index 4ec7d66d..bba1515e 100644
--- a/lib/Activity.php
+++ b/lib/Activity.php
@@ -103,7 +103,7 @@ class Activity implements \OCP\Activity\IExtension {
* @return string|false
*/
public function translate($app, $text, $params, $stripPath, $highlightParams, $languageCode) {
- $l = new \OC_L10N('passman', $languageCode);
+ $l = \OC::$server->getL10NFactory()->get('passman', $languageCode);
if ($app === 'passman') {
switch ($text) {
case self::SUBJECT_ITEM_CREATED: