Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
I
intranet-rest
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
project-open
intranet-rest
Commits
5c558649
Commit
5c558649
authored
Jun 23, 2011
by
Frank Bergmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- Sencha TT:
Adding new users to the ]po[ group "Customers"
parent
3d60ee18
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
intranet-rest-create-procs.tcl
tcl/intranet-rest-create-procs.tcl
+2
-2
intranet-rest-procs.tcl
tcl/intranet-rest-procs.tcl
+1
-1
No files found.
tcl/intranet-rest-create-procs.tcl
View file @
5c558649
...
...
@@ -1331,7 +1331,7 @@ ad_proc -private im_rest_post_object_type_membership_rel {
set dup_sql
"
select count(*)
from acs_rels
where rel_type = :
object_
type and
where rel_type = :
rest_o
type and
object_id_one = :object_id_one and
object_id_two = :object_id_two
"
...
...
@@ -1343,7 +1343,7 @@ ad_proc -private im_rest_post_object_type_membership_rel {
set rest_oid
[
db_string new_membership_rel
"
select membership_rel__new (
null, -- task_id
:
object_
type, -- object_type
:
rest_o
type, -- object_type
:object_id_one,
:object_id_two,
:member_state,
...
...
tcl/intranet-rest-procs.tcl
View file @
5c558649
...
...
@@ -1454,7 +1454,7 @@ ad_proc -private im_rest_post_object_type {
set data_list
[
list
]
foreach key
[
array
names hash_array
]
{
set value
$hash
_array
(
$key
)
lappend data_list
"
\"
$key
\"
:
\"
[
ns
_quotejson
$value
]
\"
"
lappend data_list
"
\"
$key
\"
:
\"
[
im
_quotejson
$value
]
\"
"
}
set data
"
\[
{
[
join
$data
_list
", "
]
}
\]
"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment