コード例 #1
0
ファイル: msupload_api.php プロジェクト: Ratin/Taken
			echo"bad1",
          #$this->dieUsage( "The modification you tried to make was aborted by an extension hook",
			#		'hookaborted', 0, array( 'error' => $verification['error'] ) );
			break;
		default:
			echo"bad1",
          #$this->dieUsage( 'An unknown error occurred', 'unknown-error',
			#		0, array( 'code' =>  $verification['status'] ) );
			break;
	}
	#return $result;
}
*/
if (!$ignorewarnings) {
    $warnings = $mUpload->checkWarnings();
    $sessionKey = $mUpload->stashSession();
    /*
    if ( $warnings ) {
    	// Add indices
    	$this->getResult()->setIndexedTagName( $warnings, 'warning' );
    
    	if ( isset( $warnings['duplicate'] ) ) {
    		$dupes = array();
    		foreach ( $warnings['duplicate'] as $key => $dupe )
    			$dupes[] = $dupe->getName();
    		$this->getResult()->setIndexedTagName( $dupes, 'duplicate' );
    		$warnings['duplicate'] = $dupes;
    	}
    
    
    	if ( isset( $warnings['exists'] ) ) {