Changeset 23133


Ignore:
Timestamp:
2013/08/27 15:36:52 (7 years ago)
Author:
yomoro
Message:

#2275 PEAR更新 r23125 の対応でエラーが出ていたため、LC_Page_Upgrade_Download.phpも修正。(HTTP_Request2に対応)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_13-dev/data/class/pages/upgrade/LC_Page_Upgrade_Download.php

    r23124 r23133  
    130130 
    131131        $objReq = $this->request($mode, $arrPostData); 
     132        $response = $objReq->send(); 
    132133 
    133134        // リクエストチェック 
     
    143144        // レスポンスチェック 
    144145        $objLog->log('* http response check start'); 
    145         if ($objReq->getResponseCode() !== 200) { 
     146        if ($response->getStatus() !== 200) { 
    146147            $objJson->setError(OSTORE_E_C_HTTP_RESP); 
    147148            $objJson->display(); 
     
    151152        } 
    152153 
    153         $body = $objReq->getResponseBody(); 
     154        $body = $response->getBody(); 
    154155        $objRet = $objJson->decode($body); 
    155156 
     
    230231            // 配信サーバーへ通知 
    231232            $objLog->log('* notify to lockon server start'); 
    232             $objReq = $this->notifyDownload($mode, $objReq->getResponseCookies()); 
     233            $objReq = $this->notifyDownload($mode, $response->getCookies()); 
    233234 
    234235            $objLog->log('* dl commit result:' . serialize($objReq)); 
Note: See TracChangeset for help on using the changeset viewer.