define('SERVER_URL', "http://www.mxchange.org");
// This current patch level
-define('CURR_SVN_REVISION', "443");
+define('CURR_SVN_REVISION', "445");
// Take a prime number which is long (if you know a longer one please try it out!)
define('_PRIME', 591623);
$EXT_LANG_PREFIX = "refback";
// Extension is always active?
-$EXT_ALWAYS_ACTIVE = "Y";
+$EXT_ALWAYS_ACTIVE = "N";
//
?>
// Add it again
SQL_QUERY("ALTER TABLE `"._MYSQL_PREFIX."_refsystem` ADD UNIQUE `userid_level` ( `userid` , `level` )", __FILE__, __LINE__);
+
+ // Rebuild cache
+ REBUILD_CACHE("refsystem", "refsystem");
} // END - if
// Free result
} elseif ((($ref == $uid) || ($ref == 0)) && (GET_EXT_VERSION("cache") >= "0.1.2")) {
// Remove cache here
//* DEBUG: */ print __FUNCTION__."(<font color=\"#0000aa\">".__LINE__."</font>):ref={$ref} - CACHE!<br />\n";
- if ($cacheInstance->cache_file("refsystem", true)) $cacheInstance->cache_destroy();
+ REBUILD_CACHE("refsystem", "refsystem");
}
// "Walk" back here