diff options
author | emkael <emkael@tlen.pl> | 2016-04-12 13:44:12 +0200 |
---|---|---|
committer | emkael <emkael@tlen.pl> | 2016-04-12 14:45:48 +0200 |
commit | 52d7da0d50f455f377a7412e4e73726e3cc51155 (patch) | |
tree | 5470f0470121799e60cf8b0b7e753c66b0882020 /framework | |
parent | afbc346926e2db1bfb50bd4cf5f5c57c69ea1c99 (diff) |
New-style constructors replacement for leftover PHP4-style constructors
Diffstat (limited to 'framework')
-rw-r--r-- | framework/I18N/core/Gettext/MO.php | 2 | ||||
-rw-r--r-- | framework/I18N/core/Gettext/PO.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/framework/I18N/core/Gettext/MO.php b/framework/I18N/core/Gettext/MO.php index 3e84ef2e..1afb5ea5 100644 --- a/framework/I18N/core/Gettext/MO.php +++ b/framework/I18N/core/Gettext/MO.php @@ -77,7 +77,7 @@ class TGettext_MO extends TGettext * @return object File_Gettext_MO * @param string $file path to GNU MO file */ - function TGettext_MO($file = '') + function __construct($file = '') { $this->file = $file; } diff --git a/framework/I18N/core/Gettext/PO.php b/framework/I18N/core/Gettext/PO.php index 950a5de3..3caccf88 100644 --- a/framework/I18N/core/Gettext/PO.php +++ b/framework/I18N/core/Gettext/PO.php @@ -58,7 +58,7 @@ class TGettext_PO extends TGettext * @return object File_Gettext_PO * @param string path to GNU PO file */ - function TGettext_PO($file = '') + function __construct($file = '') { $this->file = $file; } |