Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
project
drupal
Commits
ab036224
Commit
ab036224
authored
Jan 08, 2008
by
Gábor Hojtsy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#205792
by yched: fix contradictory messages after node access rebuild
parent
b78a9902
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
modules/node/node.module
modules/node/node.module
+4
-1
No files found.
modules/node/node.module
View file @
ab036224
...
...
@@ -20,7 +20,10 @@
* Implementation of hook_help().
*/
function
node_help
(
$path
,
$arg
)
{
if
(
$path
!=
'admin/content/node-settings/rebuild'
&&
strpos
(
$path
,
'#'
)
===
FALSE
// Remind site administrators about the {node_access} table being flagged
// for rebuild. We don't need to issue the message on the confirm form, or
// while the rebuild is being processed.
if
(
$path
!=
'admin/content/node-settings/rebuild'
&&
$path
!=
'batch'
&&
strpos
(
$path
,
'#'
)
===
FALSE
&&
user_access
(
'access administration pages'
)
&&
node_access_needs_rebuild
())
{
if
(
$path
==
'admin/content/node-settings'
)
{
$message
=
t
(
'The content access permissions need to be rebuilt.'
);
...
...
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