diff options
Diffstat (limited to '')
-rw-r--r-- | admin/include/mysqldump.php | 4 | ||||
-rw-r--r-- | include/ws_protocols/rest_encoder.php | 2 |
2 files changed, 3 insertions, 3 deletions
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 +?>
diff --git a/include/ws_protocols/rest_encoder.php b/include/ws_protocols/rest_encoder.php index 2c8dbd698..d538a0ae8 100644 --- a/include/ws_protocols/rest_encoder.php +++ b/include/ws_protocols/rest_encoder.php @@ -33,7 +33,7 @@ class PwgXmlWriter var $_encodedXml; - function PwgXmlWriter() + function __construct() { $this->_elementStack = array(); $this->_lastTagOpen = false; |