HomeHelpTrac

Changeset 10413 for trunk/xmlrpc


Ignore:
Timestamp:
05/05/09 04:49:03 (3 years ago)
Author:
Andrey Prikaznov
Message:
 
Location:
trunk/xmlrpc
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/xmlrpc/BxDolXMLRPCFriends.php

    r9967 r10413  
    1818            WHERE 1 
    1919            AND (f1.`ID` IS NOT NULL OR f2.`ID` IS NOT NULL) 
    20             ORDER BY p.`Picture` DESC 
     20            ORDER BY p.`Avatar` DESC 
    2121        "; 
    2222        $r = db_res($sFriendsSQL); 
     
    2525            LEFT JOIN `Profiles` ON (`Profiles`.`ID` = `sys_friend_list`.`Profile` AND `sys_friend_list`.`ID` = '$iIdProfile' OR `Profiles`.`ID` = `sys_friend_list`.`ID` AND `sys_friend_list`.`Profile` = '$iIdProfile') 
    2626            WHERE (`sys_friend_list`.`Profile` = '$iIdProfile' OR `sys_friend_list`.`ID` = '$iIdProfile') AND `sys_friend_list`.`Check` = '1'  
    27             ORDER BY `Profiles`.`Picture` DESC");*/ 
     27            ORDER BY `Profiles`.`Avatar` DESC");*/ 
    2828 
    2929        $aProfiles = array (); 
  • trunk/xmlrpc/BxDolXMLRPCImages.php

    r8596 r10413  
    7575        $aFileInfo['Categories'] = is_array($aCats) && count($aCats) ? $aCats : array($sProfileCat);  
    7676         
    77         $isUpdateThumb = (int)db_value("SELECT `Picture` FROM `Profiles` WHERE `ID` = '$iId' LIMIT 1") ? false : true; 
     77        $isUpdateThumb = (int)db_value("SELECT `Avatar` FROM `Profiles` WHERE `ID` = '$iId' LIMIT 1") ? false : true; 
    7878 
     79        //Todo .. I can`t perform updating of omages by avatars. possible later 
    7980        if (BxDolService::call('shared_photo', 'perform_photo_upload', array($sTmpFilename, $aFileInfo, $isUpdateThumb), 'Uploader')) 
    8081            return new xmlrpcval ("ok"); 
Note: See TracChangeset for help on using the changeset viewer.