--- parser3/src/main/pa_request.C 2010/05/20 07:17:51 1.319 +++ parser3/src/main/pa_request.C 2010/05/25 03:58:25 1.321 @@ -5,7 +5,7 @@ Author: Alexandr Petrosian (http://paf.design.ru) */ -static const char * const IDENT_REQUEST_C="$Date: 2010/05/20 07:17:51 $"; +static const char * const IDENT_REQUEST_C="$Date: 2010/05/25 03:58:25 $"; #include "pa_sapi.h" #include "pa_common.h" @@ -926,13 +926,6 @@ const String& Request::mime_type_of(cons return *new String("application/octet-stream"); } -const String* Request::get_method_filename(const Method* method){ - if(ArrayOperation* code=method->parser_code) - if(code->count()) // method has ops - return get_used_filename(code->get(code->get(0).code == OP::OP_OBJECT_POOL ? 3 : 1).origin.file_no); - return 0; -} - const String* Request::get_used_filename(uint file_no){ if(file_no < file_list.count()) return new String(file_list[file_no], String::L_TAINTED);