Skip to content
Snippets Groups Projects
Commit 313773e2 authored by tbrehm's avatar tbrehm
Browse files

No commit message

No commit message
parent 2e08468b
No related branches found
No related tags found
No related merge requests found
......@@ -88,7 +88,7 @@ class modules {
$records = $app->dbmaster->queryAllRecords($sql);
foreach($records as $d) {
$data = unserialize(stripslashes($d["data"]));
$data = unserialize($d["data"]);
$replication_error = false;
$this->current_datalog_id = $d["datalog_id"];
......@@ -164,7 +164,7 @@ class modules {
$sql = "SELECT * FROM sys_datalog WHERE datalog_id > ".$conf['last_datalog_id']." AND (server_id = ".$conf["server_id"]." OR server_id = 0) ORDER BY datalog_id";
$records = $app->db->queryAllRecords($sql);
foreach($records as $d) {
$data = unserialize(stripslashes($d["data"]));
$data = unserialize($d["data"]);
$this->current_datalog_id = $d["datalog_id"];
$this->raiseTableHook($d["dbtable"],$d["action"],$data);
//$app->db->query("DELETE FROM sys_datalog WHERE datalog_id = ".$rec["datalog_id"]);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment