Supervisor minor fixes
Former-commit-id: 84171e197df0a016a9a4b7d0e49f0412b65ee864
This commit is contained in:
parent
681ad67028
commit
42b0afb884
|
@ -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);
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue