diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2013-10-07 11:36:38 +0200 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2013-10-07 11:36:38 +0200 |
commit | 3ea2dfa5f9c0692f68ce64856bdf203a9bbc2018 (patch) | |
tree | 5c9bc0504c8fdc5aa66db79826bc704b5a635ec6 /lib | |
parent | 1e5012fc1d0fab73ce5694b513fe1308615961f0 (diff) | |
download | nextcloud-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.php | 10 | ||||
-rw-r--r-- | lib/public/appframework/iapi.php | 8 |
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 |