Fix deprecation warning for PHP >5.5

This commit is contained in:
cytopia 2016-11-06 17:20:15 +01:00
parent 98346d6f10
commit 28ec8e7285
No known key found for this signature in database
GPG Key ID: 6D56EDB8695128A2

View File

@ -1,4 +1,13 @@
<?php
/**
* @author cytopia
* @date 2016-11-06
*
* Fixed constructor name to __construct in order to be
* compatible with PHP >5.5
*/
/**
* Class to read mbox mail files.
*
@ -190,7 +199,7 @@ class Mail_Mbox extends PEAR
*
* @access public
*/
function Mail_Mbox($file)
function __construct($file)
{
$this->_file = $file;
}