summaryrefslogtreecommitdiffstats
path: root/apps/federation
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2016-07-05 22:45:05 +0200
committerLukas Reschke <lukas@statuscode.ch>2016-07-08 12:35:16 +0200
commit8f84c99e3f4455867d588eaeba29603e44ab1c31 (patch)
tree4d3440fff876696adc22b0d7b7627d6907b0b0a7 /apps/federation
parenta84250e0afdb98d07b268914b56c8763c17f5a73 (diff)
downloadnextcloud-server-8f84c99e3f4455867d588eaeba29603e44ab1c31.tar.gz
nextcloud-server-8f84c99e3f4455867d588eaeba29603e44ab1c31.zip
Fix undefined properties
Diffstat (limited to 'apps/federation')
-rw-r--r--apps/federation/lib/DbHandler.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/federation/lib/DbHandler.php b/apps/federation/lib/DbHandler.php
index 015a06c035c..5cfbc9f021a 100644
--- a/apps/federation/lib/DbHandler.php
+++ b/apps/federation/lib/DbHandler.php
@@ -43,7 +43,7 @@ class DbHandler {
private $connection;
/** @var IL10N */
- private $l;
+ private $IL10N;
/** @var string */
private $dbTable = 'trusted_servers';
@@ -87,7 +87,7 @@ class DbHandler {
return (int)$this->connection->lastInsertId('*PREFIX*'.$this->dbTable);
} else {
$message = 'Internal failure, Could not add ownCloud as trusted server: ' . $url;
- $message_t = $this->l->t('Could not add server');
+ $message_t = $this->IL10N->t('Could not add server');
throw new HintException($message, $message_t);
}
}