HomeHelpTrac

Ignore:
Timestamp:
04/06/09 05:42:46 (3 years ago)
Author:
Andrey Prikaznov
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/inc/match.inc.php

    r9972 r9977  
    1515 
    1616    // try to find in cache 
    17     $sQuery = "SELECT `Percent` FROM `ProfilesMatch` WHERE `PID1` = $iPID1 AND `PID2` = $iPID2"; 
     17    $sQuery = "SELECT `Percent` FROM `sys_profiles_match` WHERE `PID1` = $iPID1 AND `PID2` = $iPID2"; 
    1818 
    1919    $aPercent = db_assoc_arr( $sQuery ); 
     
    3333 
    3434    //write to cache 
    35     $sQuery = "INSERT INTO `ProfilesMatch` ( `PID1`, `PID2`, `Percent` ) VALUES ( $iPID1, $iPID2, $iMatch )"; 
     35    $sQuery = "INSERT INTO `sys_profiles_match` ( `PID1`, `PID2`, `Percent` ) VALUES ( $iPID1, $iPID2, $iMatch )"; 
    3636    db_res( $sQuery ); 
    3737     
     
    4444        return false; 
    4545     
    46     $sQuery = "DELETE FROM `ProfilesMatch` WHERE `PID1` = $iProfileID OR `PID2` = $iProfileID"; 
     46    $sQuery = "DELETE FROM `sys_profiles_match` WHERE `PID1` = $iProfileID OR `PID2` = $iProfileID"; 
    4747    db_res( $sQuery ); 
    4848} 
Note: See TracChangeset for help on using the changeset viewer.