Supervisor minor fixes

Former-commit-id: 84171e197df0a016a9a4b7d0e49f0412b65ee864
This commit is contained in:
fbsanchez 2019-02-07 18:07:52 +01:00
parent 681ad67028
commit 42b0afb884
1 changed files with 4 additions and 2 deletions

View File

@ -387,7 +387,6 @@ class ConsoleSupervisor
}
$insertion_string = substr($insertion_string, 0, -1);
db_process_sql($users_sql.' VALUES '.$insertion_string);
}
@ -445,7 +444,7 @@ class ConsoleSupervisor
public function notify(
array $data,
int $source_id=0,
int $max_age=0
int $max_age=86400
) {
// Uses 'check failed' logic.
if (is_array($data) === false) {
@ -562,6 +561,9 @@ class ConsoleSupervisor
return;
}
// Update reference to update targets.
$notification['id_mensaje'] = $id;
$this->updateTargets($notification);
}