aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/private/Server.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Server.php b/lib/private/Server.php
index 2e36d677164..20b0e8f17c1 100644
--- a/lib/private/Server.php
+++ b/lib/private/Server.php
@@ -1724,7 +1724,7 @@ class Server extends ServerContainer implements IServerContainer {
* @param string $app appid
* @param string $lang
* @return IL10N
- * @deprecated 20.0.0 use \OCP\Util::getL10N instead
+ * @deprecated 20.0.0 use DI of IL10N instead, or \OCP\Util::getL10N as a last resort
*/
public function getL10N($app, $lang = null) {
return $this->get(IFactory::class)->get($app, $lang);