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
|
||||
{
|
||||
//Transaction Start
|
||||
$this->_db->transStart();
|
||||
// $this->_db->transStart();
|
||||
try {
|
||||
$auths = $this->auth_process($uid);
|
||||
foreach ($auths as $auth) {
|
||||
@ -67,10 +67,10 @@ class Cloudflare extends BaseController
|
||||
$this->record_process($zone);
|
||||
}
|
||||
log_message("notice", "Reload 작업을 완료하였습니다.");
|
||||
$this->_db->transCommit();
|
||||
// $this->_db->transCommit();
|
||||
} catch (\Exception $e) {
|
||||
//Transaction Rollback
|
||||
$this->_db->transRollback();
|
||||
// $this->_db->transRollback();
|
||||
log_message(
|
||||
"error",
|
||||
"Reload 작업을 실패하였습니다.\n--------------\n" .
|
||||
|
||||
Loading…
Reference in New Issue
Block a user