]> git.mxchange.org Git - mailer.git/blobdiff - inc/libs/rallye_functions.php
- Surfbar further extended, currently broken!
[mailer.git] / inc / libs / rallye_functions.php
index f6e65e5b1aee83baff18ddbe9de4492dc025cb4e..50881d58eb96dee6d1b3977279978ed8f190b9db 100644 (file)
@@ -664,7 +664,7 @@ function RALLYE_DELETE_EXPIRED_RALLYES()
 {
        global $DATA, $_CONFIG;
        // Check for expired rallyes
-       $EXPIRE = ONE_DAY * 3; // @TODO The hard-coded value...
+       $EXPIRE = $_CONFIG['one_day'] * 3; // @TODO The hard-coded value...
        $result_rallye = SQL_QUERY_ESC("SELECT id, title, start_time, end_time
 FROM "._MYSQL_PREFIX."_rallye_data
 WHERE end_time <= (UNIX_TIMESTAMP() - %s) AND expired='Y'",
@@ -751,7 +751,7 @@ function RALLYE_TEMPLATE_SELECTION($name="template", $default="")
 //
 function RALLYE_GET_REFCOUNT($uid, $old=0)
 {
-       global $_CONFIG;
+       global $_CONFIG, $cacheArray;
        // Check current refs
        if (GET_EXT_VERSION("cache") >= "0.1.2")
        {