From 5d2967ace485b020672eab2e4753a1987af483c7 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Tue, 12 Jul 2011 22:51:53 +0000 Subject: [PATCH] Don't miss to rebuild the cache ... :( Maybe a filter is a nicer way here? --- inc/referal-functions.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/inc/referal-functions.php b/inc/referal-functions.php index cec12c40a7..f9055fdcd0 100644 --- a/inc/referal-functions.php +++ b/inc/referal-functions.php @@ -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!'); } -- 2.39.5