summaryrefslogtreecommitdiffstats
path: root/lib
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
parent1e5012fc1d0fab73ce5694b513fe1308615961f0 (diff)
downloadnextcloud-server-3ea2dfa5f9c0692f68ce64856bdf203a9bbc2018.tar.gz
nextcloud-server-3ea2dfa5f9c0692f68ce64856bdf203a9bbc2018.zip
remove getTrans() from API class
Diffstat (limited to 'lib')
-rw-r--r--lib/private/appframework/core/api.php10
-rw-r--r--lib/public/appframework/iapi.php8
2 files changed, 0 insertions, 18 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
diff --git a/lib/public/appframework/iapi.php b/lib/public/appframework/iapi.php
index fa6af5f5965..818647c19fd 100644
--- a/lib/public/appframework/iapi.php
+++ b/lib/public/appframework/iapi.php
@@ -67,14 +67,6 @@ interface IApi {
*/
function add3rdPartyStyle($name);
- /**
- * Returns the translation object
- * @return \OC_L10N the translation object
- *
- * FIXME: returns private object / should be retrieved from teh ServerContainer
- */
- function getTrans();
-
/**
* Returns the URL for a route