/trunk/plugins/viathinksoft/adminPages/120_registration/OIDplusPageAdminRegistration.class.php |
---|
514,12 → 514,17 |
if (OIDplus::isCronjob()) $last_ping_interval /= 2; |
if ((time()-$last_ping >= $last_ping_interval)) { |
try { |
$this->sendRegistrationQuery(); |
} catch (\Exception $e) { |
// Don't do anything, because we don't want that a failed registration query blocks the system |
OIDplus::logger()->log('[WARN]A!', 'System registration query crashed: '.$e->getMessage()); |
} |
} |
} |
} |
} |
} |
/** |
* @param array $json |