aboutsummaryrefslogtreecommitdiffstats
path: root/core/namespace
diff options
context:
space:
mode:
authorThomas Lange <code@nerdmind.de>2023-09-23 21:54:01 +0200
committerThomas Lange <code@nerdmind.de>2023-09-23 22:10:07 +0200
commiteaf9e1366d2a44387575d9657a44d58f8dd55c09 (patch)
tree0267806706de39c9b3dcc042c30efb36a598edec /core/namespace
parent819f05e5c8aa3306681bf2575941d823712892d7 (diff)
downloadblog-eaf9e1366d2a44387575d9657a44d58f8dd55c09.tar.gz
blog-eaf9e1366d2a44387575d9657a44d58f8dd55c09.tar.xz
blog-eaf9e1366d2a44387575d9657a44d58f8dd55c09.zip
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
Diffstat (limited to 'core/namespace')
-rw-r--r--core/namespace/Language.php7
1 files changed, 0 insertions, 7 deletions
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);
- }
}