HomeHelpTrac

Ignore:
Timestamp:
06/07/11 23:41:51 (12 months ago)
Author:
Alexander Trofimov
Message:

Code cleaning:

  • converting new lines to \n
  • deleting spaces at the end of every line
  • converting all tabs to 4 spaces
  • automated script for future cleaning was added
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/xmlrpc/BxDolXMLRPCSearch.php

    r13353 r15211  
    88            return new xmlrpcresp(new xmlrpcval(array('error' => new xmlrpcval(1,"int")), "struct")); 
    99 
    10         BxDolXMLRPCUtil::setLanguage ($sLang);  
     10        BxDolXMLRPCUtil::setLanguage ($sLang); 
    1111 
    1212        $sCountryCode = process_db_input ($sCountryCode, BX_TAGS_NO_ACTION, BX_SLASHES_NO_ACTION); 
     
    2020        if ($isWithPhotosOnly) 
    2121            $sWhere .= " AND `Avatar` "; 
    22         if ($isOnlineOnly)  
     22        if ($isOnlineOnly) 
    2323        { 
    2424            $iOnlineTime = (int)getParam( 'member_online_time' ); 
     
    4949            return new xmlrpcresp(new xmlrpcval(array('error' => new xmlrpcval(1,"int")), "struct")); 
    5050 
    51         BxDolXMLRPCUtil::setLanguage ($sLang);  
     51        BxDolXMLRPCUtil::setLanguage ($sLang); 
    5252 
    5353        $sLat = (float)$sLat; 
     
    6464        if ($isWithPhotosOnly) 
    6565            $sWhere .= " AND `Avatar` "; 
    66         if ($isOnlineOnly)  
     66        if ($isOnlineOnly) 
    6767        { 
    6868            $iOnlineTime = getParam( 'member_online_time' ); 
     
    9494            return new xmlrpcresp(new xmlrpcval(array('error' => new xmlrpcval(1,"int")), "struct")); 
    9595 
    96         BxDolXMLRPCUtil::setLanguage ($sLang);  
     96        BxDolXMLRPCUtil::setLanguage ($sLang); 
    9797 
    9898        $sKeyword = process_db_input ($sKeyword, BX_TAGS_NO_ACTION, BX_SLASHES_NO_ACTION); 
     
    106106        if ($isWithPhotosOnly) 
    107107            $sWhere .= " AND `Avatar` "; 
    108         if ($isOnlineOnly)  
     108        if ($isOnlineOnly) 
    109109        { 
    110110            $iOnlineTime = getParam( 'member_online_time' ); 
Note: See TracChangeset for help on using the changeset viewer.