mirror of
https://github.com/cytopia/devilbox.git
synced 2025-01-18 02:40:04 +00:00
Fix deprecation warning for PHP >5.5
This commit is contained in:
parent
98346d6f10
commit
28ec8e7285
11
.devilbox/www/include/vendor/Mail/Mbox.php
vendored
11
.devilbox/www/include/vendor/Mail/Mbox.php
vendored
@ -1,4 +1,13 @@
|
|||||||
<?php
|
<?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.
|
* Class to read mbox mail files.
|
||||||
*
|
*
|
||||||
@ -190,7 +199,7 @@ class Mail_Mbox extends PEAR
|
|||||||
*
|
*
|
||||||
* @access public
|
* @access public
|
||||||
*/
|
*/
|
||||||
function Mail_Mbox($file)
|
function __construct($file)
|
||||||
{
|
{
|
||||||
$this->_file = $file;
|
$this->_file = $file;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user