Don't miss to rebuild the cache ... :( Maybe a filter is a nicer way here?
authorRoland Häder <roland@mxchange.org>
Tue, 12 Jul 2011 22:51:53 +0000 (22:51 +0000)
committerRoland Häder <roland@mxchange.org>
Tue, 12 Jul 2011 22:51:53 +0000 (22:51 +0000)
inc/referal-functions.php

index cec12c40a71e63db515d4e03b426792a498aa814..f9055fdcd0d3042cf26898280679d5778ae8f496 100644 (file)
@@ -512,6 +512,9 @@ function updateReferalTable ($userid) {
        // The last step is to flush all userid's entries to the database
        flushReferalTableToDatabase($userid);
 
+       // Rebuild cache
+       rebuildCache('refsystem', 'refsystem');
+
        //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'userid=' . $userid . ' - EXIT!');
 }