Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Eric Rasmussen
UNL-CMS
Commits
a4835be4
Commit
a4835be4
authored
Mar 14, 2013
by
Eric Rasmussen
Browse files
[gh-590] Re-add Workbench patch that was wiped out in
76ffc01a
parent
76ffc01a
Changes
1
Hide whitespace changes
Inline
Side-by-side
sites/all/modules/workbench_moderation/workbench_moderation.module
View file @
a4835be4
...
...
@@ -642,6 +642,10 @@ function workbench_moderation_node_presave($node) {
$node
->
status
=
0
;
}
}
if
(
isset
(
$node
->
workbench_moderation
[
'updating_live_revision'
])
&&
!
empty
(
$node
->
book
[
'bid'
]))
{
// Book module forces new revision in book_node_presave() that needs to be cancelled.
$node
->
revision
=
0
;
}
}
/**
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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