/**
* abook_local_file.php
*
- * @copyright 1999-2013 The SquirrelMail Project Team
+ * @copyright 1999-2018 The SquirrelMail Project Team
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
* @version $Id$
* @package squirrelmail
/* ========================== Private ======================= */
/**
- * Constructor
+ * Constructor (PHP5 style, required in some future version of PHP)
* @param array $param backend options
* @return bool
*/
- function abook_local_file($param) {
+ function __construct($param) {
$this->sname = _("Personal Address Book");
$this->umask = Umask();
}
}
+ /**
+ * Constructor (PHP4 style, kept for compatibility reasons)
+ * @param array $param backend options
+ * @return bool
+ */
+ function abook_local_file($param) {
+ return self::__construct($param);
+ }
+
/**
* Open the addressbook file and store the file pointer.
* Use $file as the file to open, or the class' own