Forcing Update of Matchmaking Cache

I developed a questionnaire for myself and need to know how i can force the matchmaking cache to update for a specific user. My mod is writing new values into a profile field thats using the cupid match system, but to take effect the match-cache must be rebuild. Dolphin does this too when a member goes to his profile and changes some profile fields. after saving the profile this cache gets rebuild.

 

Is there a function i can call or what i have to do? I do not want to clear the whole cache for all users, so how is pedit.php doing it. Anybody know?

 

I found these two code pieces in pedit.php and wonder if one of them might trigger the cache to be rebuild. Which is the correct way to do so?

a) $this -> oPC -> updateProfile( $this -> iProfileID, $aUpd );

b) $oZ = new BxDolAlerts('profile', 'edit',  $this -> iProfileID, 0, array('OldProfileInfo' => $aProfileInfo) );
        $oZ->alert();

Check my GeoDistance, Watermark, TorBlock and Android Push Notifications mods | http://goo.gl/H3Vp81
Quote · 9 Dec 2012

Found it.....

$GLOBALS['MySQL']->cleanCache('sys_browse_people');

Check my GeoDistance, Watermark, TorBlock and Android Push Notifications mods | http://goo.gl/H3Vp81
Quote · 13 Dec 2012
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.