Subversion Repositories DevTools

Rev

Rev 5506 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
119 ghuddy 1
<%@LANGUAGE="VBSCRIPT"%>
2
<%
3
Option explicit
129 ghuddy 4
Response.Expires = 0   ' always load the page, dont store
119 ghuddy 5
%>
6
<%
7
'=====================================================
129 ghuddy 8
'               Remove Code Review URL
119 ghuddy 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
 
129 ghuddy 34
   OraDatabase.Parameters.Add "CR_ID",   nCr_id,   ORAPARM_INPUT,  ORATYPE_NUMBER
35
 
36
   objEH.TryORA ( OraSession )
37
   On Error Resume Next
38
 
39
   OraDatabase.ExecuteSQL _
40
   "BEGIN PK_PACKAGE.REMOVE_CODE_REVIEW_URL ( :CR_ID );  END;"
41
 
42
   objEH.CatchORA ( OraSession )
43
 
44
   OraDatabase.Parameters.Remove "CR_ID"
45
 
119 ghuddy 46
End Sub
47
%>
48
<%
49
'-------------------------  MAIN LINE  -----------------------------------------
50
 
51
If Request("cr_id") <> "" Then
52
  Call RemoveCodeReviewURL ( Request("cr_id") )
53
End If
5957 dpurdie 54
Call Destroy_All_Objects
55
Response.Redirect("fixed_issues.asp?hidenv=true&pv_id="& Request("pv_id") &"&rtag_id="& Request("rtag_id") &"&#CODE_REVIEW")
119 ghuddy 56
%>