bug #385 __construct for PHP 7 compatibility

This commit is contained in:
plegall
2015-12-20 21:49:11 +01:00
parent 5bfb51c0ec
commit 1681b02ee9
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -59,7 +59,7 @@ class MySQLDump {
* @param boolean $compress It defines if the output file is compress (gzip) or not
* @param boolean $hexValue It defines if the outup values are base-16 or not
*/
function MYSQLDump($db = null, $filepath = 'dump.sql', $compress = false, $hexValue = false){
function __construct($db = null, $filepath = 'dump.sql', $compress = false, $hexValue = false){
$this->compress = $compress;
if ( !$this->setOutputFile($filepath) )
return false;
@@ -418,4 +418,4 @@ class MySQLDump {
@fclose($file);
}
}
?>
?>
+1 -1
View File
@@ -33,7 +33,7 @@ class PwgXmlWriter
var $_encodedXml;
function PwgXmlWriter()
function __construct()
{
$this->_elementStack = array();
$this->_lastTagOpen = false;