From eaf9e1366d2a44387575d9657a44d58f8dd55c09 Mon Sep 17 00:00:00 2001 From: Thomas Lange Date: Sat, 23 Sep 2023 21:54:01 +0200 Subject: Language: Remove deprecated method "template" If your custom theme is still using that method, you can simply upgrade your theme by replacing all occurrences of "template" with "text": OLD: $Language->template NEW: $Language->text --- core/namespace/Language.php | 7 ------- 1 file changed, 7 deletions(-) (limited to 'core/namespace/Language.php') diff --git a/core/namespace/Language.php b/core/namespace/Language.php index f082b37..8d884f9 100644 --- a/core/namespace/Language.php +++ b/core/namespace/Language.php @@ -41,11 +41,4 @@ class Language { return vsprintf($this->text[$name], $arguments); } - - #=============================================================================== - # DEPRECATED: This method will be removed in the future! - #=============================================================================== - public function template($name, $params = FALSE): string { - return $this->text($name, $params); - } } -- cgit v1.2.3