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
01c7d953
Commit
01c7d953
authored
Oct 13, 2016
by
Frank Bergmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- beautified
parent
1166570b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
7 deletions
+3
-7
intranet-rest-create-procs.tcl
tcl/intranet-rest-create-procs.tcl
+3
-7
No files found.
tcl/intranet-rest-create-procs.tcl
View file @
01c7d953
...
...
@@ -2127,7 +2127,9 @@ ad_proc -private im_rest_post_object_type_im_sencha_preference {
preference_url = :preference_url and
preference_key = :preference_key
"
ns_log Notice
"im_rest_post_object_type_
$rest
_otype: before executing dup_sql: preference_object_id=
$preference
_object_id, preference_url=
$preference
_url, preference_key=
$preference
_key, dup_sql=
$dup
_sql"
set rest_oid
[
db_string duplicates
$dup
_sql -default 0
]
ns_log Notice
"im_rest_post_object_type_
$rest
_otype: rest_oid='
$rest
_oid'"
if
{
$rest
_oid
}
{
# Exception: Just update the preference.
db_dml update_preference
"
...
...
@@ -2141,13 +2143,7 @@ ad_proc -private im_rest_post_object_type_im_sencha_preference {
if
{[
catch
{
set rest_oid
[
db_string new_im_sencha_preference
"
select im_sencha_preference__new (
null, -- preference_id
:rest_otype, -- object_type
now(), -- creation_date
:creation_user,
:creation_ip,
null, -- context_id
null, :rest_otype, now(), :creation_user, :creation_ip, null, -- object params
:preference_type_id,
:preference_status_id,
:preference_object_id,
...
...
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