Atualizando Database.class.php
This commit is contained in:
parent
95deea4129
commit
9f4e4f0839
1 changed files with 2 additions and 7 deletions
9
vendor/action/log/log_save.php
vendored
9
vendor/action/log/log_save.php
vendored
|
|
@ -246,15 +246,10 @@ try {
|
||||||
$Database->Delete($clientId);
|
$Database->Delete($clientId);
|
||||||
|
|
||||||
/** Grava os novos dados do banco de dados */
|
/** Grava os novos dados do banco de dados */
|
||||||
if(!$Database->Save($clientId,
|
$Database->Save($clientId,
|
||||||
$jsonLog->database->file_size,
|
$jsonLog->database->file_size,
|
||||||
$jsonLog->database->last_modified,
|
$jsonLog->database->last_modified,
|
||||||
$jsonLog->database->db_accessible)){
|
$jsonLog->database->db_accessible);
|
||||||
|
|
||||||
/** Informo */
|
|
||||||
throw new InvalidArgumentException('Não foi possível cadastrar as informações de banco de dados', 0);
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
/** Exclui o log anterior da estação correspondente */
|
/** Exclui o log anterior da estação correspondente */
|
||||||
$Log->Delete($clientId, $stationId);
|
$Log->Delete($clientId, $stationId);
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue