Forgot to change constructor name
authorpdontthink <pdontthink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Tue, 28 Sep 2021 23:27:26 +0000 (23:27 +0000)
committerpdontthink <pdontthink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Tue, 28 Sep 2021 23:27:26 +0000 (23:27 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@14929 7612ce4b-ef26-0410-bec9-ea0150e637f0

class/l10n/gettext.class.php

index 961965f30b95af0d4f1a8f4d8ba96226d6857363..0692a536c91bb4a1b28abeaa855ecd4fec2e6ff4 100644 (file)
@@ -74,7 +74,7 @@ class gettext_reader {
      * @return boolean false, if some error with stream
 TODO: Constructors should not return anything.
      */
-    function gettext_reader($Reader) {
+    function __construct($Reader) {
         $MAGIC1 = (int) ((222) | (18<<8) | (4<<16) | (149<<24));
         $MAGIC2 = (int) ((149) | (4<<8) | (18<<16) | (222<<24));