summaryrefslogtreecommitdiffstats
path: root/lib/private/appframework/core
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2013-10-07 11:36:38 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2013-10-07 11:36:38 +0200
commit3ea2dfa5f9c0692f68ce64856bdf203a9bbc2018 (patch)
tree5c9bc0504c8fdc5aa66db79826bc704b5a635ec6 /lib/private/appframework/core
parent1e5012fc1d0fab73ce5694b513fe1308615961f0 (diff)
downloadnextcloud-server-3ea2dfa5f9c0692f68ce64856bdf203a9bbc2018.tar.gz
nextcloud-server-3ea2dfa5f9c0692f68ce64856bdf203a9bbc2018.zip
remove getTrans() from API class
Diffstat (limited to 'lib/private/appframework/core')
-rw-r--r--lib/private/appframework/core/api.php10
1 files changed, 0 insertions, 10 deletions
diff --git a/lib/private/appframework/core/api.php b/lib/private/appframework/core/api.php
index c5991237ed1..31da0706a15 100644
--- a/lib/private/appframework/core/api.php
+++ b/lib/private/appframework/core/api.php
@@ -100,16 +100,6 @@ class API implements IApi{
/**
- * Returns the translation object
- * @return \OC_L10N the translation object
- */
- public function getTrans(){
- # TODO: use public api
- return \OC_L10N::get($this->appName);
- }
-
-
- /**
* Returns the URL for a route
* @param string $routeName the name of the route
* @param array $arguments an array with arguments which will be filled into the url