diff options
author | Andrew Dolgov <[email protected]> | 2016-03-30 09:56:11 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2016-03-30 09:56:11 +0300 |
commit | 00b6b66827c5ce0c103399f2742581fa90d50a97 (patch) | |
tree | 5835d7fc64fe9216ced0f511d4424e063325eab2 /lib/gettext/gettext.php | |
parent | 583d5b9a9838c411473e0e41c721710097914436 (diff) |
lib/gettext: use proper constructor
Diffstat (limited to 'lib/gettext/gettext.php')
-rwxr-xr-x | lib/gettext/gettext.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gettext/gettext.php b/lib/gettext/gettext.php index 5064047cb..81af55509 100755 --- a/lib/gettext/gettext.php +++ b/lib/gettext/gettext.php @@ -98,7 +98,7 @@ class gettext_reader { * @param object Reader the StreamReader object * @param boolean enable_cache Enable or disable caching of strings (default on) */ - function gettext_reader($Reader, $enable_cache = true) { + function __construct($Reader, $enable_cache = true) { // If there isn't a StreamReader, turn on short circuit mode. if (! $Reader || isset($Reader->error) ) { $this->short_circuit = true; |