We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 701f785 commit f8e444dCopy full SHA for f8e444d
1 file changed
lib/private/Server.php
@@ -1705,7 +1705,7 @@ public function getL10NFactory() {
1705
* @param string $app appid
1706
* @param string $lang
1707
* @return IL10N
1708
- * @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
1709
*/
1710
public function getL10N($app, $lang = null) {
1711
return $this->get(IFactory::class)->get($app, $lang);
0 commit comments