From 1681b02ee98c2deb740d394280a2a685170bc72e Mon Sep 17 00:00:00 2001 From: plegall Date: Sun, 20 Dec 2015 21:49:11 +0100 Subject: bug #385 __construct for PHP 7 compatibility --- admin/include/mysqldump.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'admin') diff --git a/admin/include/mysqldump.php b/admin/include/mysqldump.php index 515d86ae9..1432675c8 100644 --- a/admin/include/mysqldump.php +++ b/admin/include/mysqldump.php @@ -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); } } -?> \ No newline at end of file +?> -- cgit v1.2.3