]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/guest/what-beg.php
Our convention says if(-else) blocks should not be put in one line
[mailer.git] / inc / modules / guest / what-beg.php
index 408b0fead1ae23352ddd8754d30fd81d5a57f0c7..07a7d8b6cf257198c35a5182d48e2e64cccb81f8 100644 (file)
@@ -50,17 +50,10 @@ if ((!isExtensionActive('beg')) && (!isAdmin())) {
        return;
 } // END - if
 
-// Prepare constants
-$content['points']     = translateComma(getConfig('beg_points'));
-$content['points_max'] = translateComma(getConfig('beg_points_max'));
-$content['userid']     = determineReferalId();
-
-// Selection boxes are now the default
-$content['timeout'] = createFancyTime(getConfig('beg_timeout'));
 // @TODO No more needed? define('__BEG_UID_TIMEOUT', createFancyTime(getConfig('beg_userid_timeout')));
 
 // Load final template
-loadTemplate('guest_beg', false, $content);
+loadTemplate('guest_beg');
 
 // [EOF]
 ?>