Skip to content

Commit

Permalink
Redmine-#5313:[レスポンス改善] サーバーサイドをPHP5→PHP7にアップグレードする(fix note 18)
Browse files Browse the repository at this point in the history
- remove unnecessary condition
  • Loading branch information
think-mcunanan committed Sep 15, 2021
1 parent 073cc10 commit c2358ae
Showing 1 changed file with 5 additions and 10 deletions.
15 changes: 5 additions & 10 deletions app/controllers/servers_controller.php
Original file line number Diff line number Diff line change
Expand Up @@ -10046,18 +10046,13 @@ function wsSendMail($sessionid, $from, $to, $cc, $bcc, $subject, $body)
*/
function wsSearchJikaiYoyaku($sessionid, $storecode, $ccode = null, $transcode = null)
{
if ($param['ignoreSessionCheck'] <> 1) {
//-- セッションを確認してデータベース名を取り込む (Verify Session and Get DB name)
$storeinfo = $this->YoyakuSession->Check($this);
if ($storeinfo == false) {
$this->_soap_server->fault(1, '', INVALID_SESSION);
return;
}
} else {
$storeinfo['dbname'] = $param['dbname'];
//-- セッションを確認してデータベース名を取り込む (Verify Session and Get DB name)
$storeinfo = $this->YoyakuSession->Check($this);
if ($storeinfo == false) {
$this->_soap_server->fault(1, '', INVALID_SESSION);
return;
}


//-- 会社データベースを設定する (Set the Company Database)
$this->StoreTransaction->set_company_database($storeinfo['dbname'], $this->StoreTransaction);

Expand Down

0 comments on commit c2358ae

Please sign in to comment.