本文整理匯總了PHP中Flux::pruneUnconfirmedAccounts方法的典型用法代碼示例。如果您正苦於以下問題:PHP Flux::pruneUnconfirmedAccounts方法的具體用法?PHP Flux::pruneUnconfirmedAccounts怎麽用?PHP Flux::pruneUnconfirmedAccounts使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類Flux
的用法示例。
在下文中一共展示了Flux::pruneUnconfirmedAccounts方法的1個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: sprintf
// Construct DATETIME.
if (!is_null($_hour) && !is_null($_minute) && !is_null($_second)) {
$_format .= sprintf(' %02d:%02d:%02d', $_hour, $_minute, $_second);
}
$params->set("{$__dateName}_date", $_format);
}
}
$installer = Flux_Installer::getInstance();
if ($installer->updateNeeded() && $params->get('module') != 'install') {
$this->redirect($this->url('install'));
}
if (Flux::config('AutoUnholdAccount')) {
Flux::processHeldCredits();
}
if (Flux::config('AutoPruneAccounts')) {
Flux::pruneUnconfirmedAccounts();
}
$ppReturn = array('txn_id' => $params->get('txn_id'), 'txn_type' => $params->get('txn_type'), 'first_name' => $params->get('first_name'), 'last_name' => $params->get('last_name'), 'item_name' => $params->get('item_name'), 'verify_sign' => $params->get('verify_sign'));
if ($params->get('merchant_return_link') && $ppReturn['txn_id'] && $ppReturn['txn_type'] && $ppReturn['first_name'] && $ppReturn['last_name'] && $ppReturn['item_name'] && $ppReturn['verify_sign']) {
$session->setPpReturnData($ppReturn);
$this->redirect($this->url('donate', 'complete'));
}
// Update preferred server.
if (($preferred_server = $params->get('preferred_server')) && $session->getAthenaServer($preferred_server)) {
$session->setAthenaServerNameData($params->get('preferred_server'));
if (!array_key_exists('preferred_server', $_GET)) {
$this->redirect($this->urlWithQs);
}
}
if ($preferred_theme = $params->get('preferred_theme')) {
$session->setThemeData($params->get('preferred_theme'));