Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Make it clear in the deprecation comment that DI is preferred
Signed-off-by: Côme Chilliet <[email protected]>
  • Loading branch information
come-nc committed Feb 5, 2024
commit 961ccee5f6cd08d8e06aea7f2e4e432cdb7d88e0
2 changes: 1 addition & 1 deletion lib/private/Server.php
Original file line number Diff line number Diff line change
Expand Up @@ -1724,7 +1724,7 @@ public function getL10NFactory() {
* @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);
Expand Down