X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fguest%2Fwhat-beg.php;h=71ab1bd55acc5bfe49487eef93149cb73b8b3ac5;hb=62b16291efe168636f5eda2c8644f6770382fb1e;hp=d61d0d067122c8d156bc5a5e91e4d31567e4a354;hpb=3daede4c904e23905c3e48dd6749019deca0a0e0;p=mailer.git diff --git a/inc/modules/guest/what-beg.php b/inc/modules/guest/what-beg.php index d61d0d0671..71ab1bd55a 100644 --- a/inc/modules/guest/what-beg.php +++ b/inc/modules/guest/what-beg.php @@ -54,13 +54,9 @@ if ($GLOBALS['refid'] > 0) { define('__BEG_UID' , getConfig('def_refid')); } -if (function_exists('CREATE_FANCY_TIME')) { - define('__BEG_TIMEOUT' , CREATE_FANCY_TIME(getConfig('beg_timeout'))); - define('__BEG_UID_TIMEOUT', CREATE_FANCY_TIME(getConfig('beg_uid_timeout'))); -} else { - define('__BEG_TIMEOUT ' , round(getConfig('beg_timeout') / 60)." ".MINUTES); - define('__BEG_UID_TIMEOUT', round(getConfig('beg_uid_timeout') / 60)." ".MINUTES); -} +// Selection boxes are now the default +define('__BEG_TIMEOUT' , CREATE_FANCY_TIME(getConfig('beg_timeout'))); +define('__BEG_UID_TIMEOUT', CREATE_FANCY_TIME(getConfig('beg_uid_timeout'))); // Load final template LOAD_TEMPLATE("guest_".substr(basename(__FILE__), 5, -4));