// Add description as navigation point
addMenuDescription('admin', __FILE__);
-if (getConfig('bonus_active') == 'Y') {
+if (ifBonusRallyeActive()) {
// Shall I withdraw now?
if (isPostRequestParameterSet('withdraw')) {
// Okay, let's prepare...
// Prepare constant for timemark
// @TODO Can't this be moved into our expression language?
if (isExtensionActive('autopurge')) {
- $content['autopurge_timeout'] = generateDateTime(time() - getConfig('ap_inactive_since'), 2);
+ $content['autopurge_timeout'] = generateDateTime(time() - getApInactiveSince(), 2);
} else {
$content['autopurge_timeout'] = getMaskedMessage('EXTENSION_PROBLEM_EXTENSION_NOT_INSTALLED', 'autopurge');
}