Subversion Repositories DevTools

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
119 ghuddy 1
<%@LANGUAGE="VBSCRIPT"%>
2
<%
3
Option explicit
4
Response.Expires = 0	' always load the page, dont store
5
%>
6
<%
7
'=====================================================
8
'					Remove Code Review URL
9
'=====================================================
10
%>
11
<!--#include file="common/conf.asp"-->
12
<!--#include file="common/globals.asp"-->
13
<!--#include file="common/formating.asp"-->
14
<!--#include file="common/qstr.asp"-->
15
<!--#include file="common/common_subs.asp"-->
16
<!--#include file="common/common_dbedit.asp"-->
17
<%
18
' Set rfile parameter. This is a return page after Login
19
Call objPMod.StoreParameter ( "rfile", "fixed_issues.asp" )
20
'------------ ACCESS CONTROL ------------------
21
%>
22
<!--#include file="_access_control_login.asp"-->
23
<!--#include file="_access_control_general.asp"-->
24
<!--#include file="_access_control_project.asp"-->
25
<%
26
'------------ Variable Definition -------------
27
'------------ Constants Declaration -----------
28
'------------ Variable Init -------------------
29
'----------------------------------------------
30
%>
31
<%
32
Sub RemoveCodeReviewURL ( nCr_id )
33
 
34
	OraDatabase.Parameters.Add "CR_ID",   nCr_id,   ORAPARM_INPUT,  ORATYPE_NUMBER
35
 
36
	OraSession.BeginTrans
37
	OraDatabase.ExecuteSQL _
38
	"BEGIN PK_PACKAGE.REMOVE_CODE_REVIEW_URL ( :CR_ID );  END;"
39
 
40
	OraSession.CommitTrans
41
 
42
	OraDatabase.Parameters.Remove "CR_ID"
43
 
44
End Sub
45
%>
46
<%
47
'-------------------------  MAIN LINE  -----------------------------------------
48
 
49
If Request("cr_id") <> "" Then
50
  Call RemoveCodeReviewURL ( Request("cr_id") )
51
End If
52
  Response.Redirect("fixed_issues.asp?hidenv=true&pv_id="& Request("pv_id") &"&rtag_id="& Request("rtag_id") &"&#CODE_REVIEW")
53
 
54
%>
55
 
56
<!-- DESTRUCTOR ------->
57
<!--#include file="common/destructor.asp"-->