Changeset 18813


Ignore:
Timestamp:
2010/09/19 19:12:41 (10 years ago)
Author:
Seasoft
Message:

#565(SC_DbConn クラスの削除)

  • SC_Query#traceError のバックトレース整形に共通モジュール(SC_Utils#sfBacktraceToString)を使用。
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_5-dev/data/class/SC_Query.php

    r18811 r18813  
    813813            . $error->getUserInfo() . "\n\n"; 
    814814 
    815         $rev = array_reverse($error->getBackTrace()); 
    816  
    817         foreach($rev as $val) { 
    818             if($val['class'] != "") { 
    819                 $detail = $val['class'] . "->" . $val['function']; 
    820             } else { 
    821                 $detail = $val['function']; 
    822             } 
    823             $err .= $val['file'] . " " . $val['line'] . ":" . $detail . "\n"; 
    824         } 
     815        $err .= SC_Utils_Ex::sfBacktraceToString($error->getBackTrace()); 
     816 
    825817        return $err; 
    826818    } 
Note: See TracChangeset for help on using the changeset viewer.