Skip to content

Commit ec3b08c

Browse files
author
Roman Shuplov
committed
removed previous PR proposal
1 parent 872acd9 commit ec3b08c

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

.gitignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@ samples/deps
1515
**/ebin/**
1616
**/Mnesia*/**
1717
test/bert.data
18-
/idea
18+
.idea/

src/wf.erl

-5
Original file line numberDiff line numberDiff line change
@@ -150,11 +150,6 @@ qp(Key) -> qp(Key,?REQ).
150150
qp(Key,Req) -> {Params,_} = params(Req), proplists:get_value(to_binary(Key),Params).
151151
lang() -> ?CTX#cx.lang.
152152

153-
% Key/Value pairs from Post Request if the body was sent using the application/x-www-form-urlencoded content-type.
154-
p(Key) -> Val = get(Key), case Val of undefined -> pp(Key); A -> A end.
155-
pp(Key) -> pp(Key, ?REQ).
156-
pp(Key,Req) -> {Params,_} = form(Req), proplists:get_value(to_binary(Key),Params).
157-
158153
% Cookies
159154

160155
cookies() -> n2o_cx:cookies().

0 commit comments

Comments
 (0)