cfmgrv4 init...2
This commit is contained in:
parent
21809f5acf
commit
e9c77cf39b
@ -52,7 +52,7 @@ class Cloudflare extends BaseController
|
|||||||
public function reload(mixed $uid = false): void
|
public function reload(mixed $uid = false): void
|
||||||
{
|
{
|
||||||
//Transaction Start
|
//Transaction Start
|
||||||
$this->_db->transStart();
|
// $this->_db->transStart();
|
||||||
try {
|
try {
|
||||||
$auths = $this->auth_process($uid);
|
$auths = $this->auth_process($uid);
|
||||||
foreach ($auths as $auth) {
|
foreach ($auths as $auth) {
|
||||||
@ -67,10 +67,10 @@ class Cloudflare extends BaseController
|
|||||||
$this->record_process($zone);
|
$this->record_process($zone);
|
||||||
}
|
}
|
||||||
log_message("notice", "Reload 작업을 완료하였습니다.");
|
log_message("notice", "Reload 작업을 완료하였습니다.");
|
||||||
$this->_db->transCommit();
|
// $this->_db->transCommit();
|
||||||
} catch (\Exception $e) {
|
} catch (\Exception $e) {
|
||||||
//Transaction Rollback
|
//Transaction Rollback
|
||||||
$this->_db->transRollback();
|
// $this->_db->transRollback();
|
||||||
log_message(
|
log_message(
|
||||||
"error",
|
"error",
|
||||||
"Reload 작업을 실패하였습니다.\n--------------\n" .
|
"Reload 작업을 실패하였습니다.\n--------------\n" .
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user