summaryrefslogtreecommitdiff
path: root/lib/kolab_api_service.php
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2013-10-29 08:34:28 (GMT)
committerAleksander Machniak <alec@alec.pl>2013-10-29 08:34:28 (GMT)
commit6c2720f7e3ecb1789e71750339f8cd853a1b365c (patch)
treec041602b23b64e32e2e5af857ee578faec6aaaa5 /lib/kolab_api_service.php
parent4cbe80ae0b2f845dbe706c1948485aefbbba933d (diff)
downloadkolab-wap-6c2720f7e3ecb1789e71750339f8cd853a1b365c.tar.gz
Do not use a separate localization file for API backend
Diffstat (limited to 'lib/kolab_api_service.php')
-rw-r--r--lib/kolab_api_service.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/kolab_api_service.php b/lib/kolab_api_service.php
index c8f2680..83fdd5b 100644
--- a/lib/kolab_api_service.php
+++ b/lib/kolab_api_service.php
@@ -70,7 +70,7 @@ abstract class kolab_api_service
if (empty($type_id)) {
if ($required) {
- throw new Exception($this->controller->translate($object_name . '.notypeid'), 34);
+ throw new Exception($this->controller->translate('api.notypeid'), 34);
}
return array();
@@ -89,7 +89,7 @@ abstract class kolab_api_service
return $result;
}
else {
- throw new Exception($this->controller->translate($object_name . '.invalidtypeid'), 35);
+ throw new Exception($this->controller->translate('api.invalidtypeid'), 35);
}
}