summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNeil Drumm <drumm@3064.no-reply.drupal.org>2006-11-10 09:03:21 +0000
committerNeil Drumm <drumm@3064.no-reply.drupal.org>2006-11-10 09:03:21 +0000
commit7ce5c7d7ab696f61e514aee46a13c52da1b17b97 (patch)
tree5fa002901a9de55a2a1acaf7a2aefafd800f0037
parent3cc0da863485a017c659a25faebc9f2a78f30b43 (diff)
downloadbrdo-7ce5c7d7ab696f61e514aee46a13c52da1b17b97.tar.gz
brdo-7ce5c7d7ab696f61e514aee46a13c52da1b17b97.tar.bz2
#93188 by keve. Wipe the cache when we reshuffe node permissions.
-rw-r--r--modules/node/node.module1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/node/node.module b/modules/node/node.module
index 9f5628076..ae3a0a6d0 100644
--- a/modules/node/node.module
+++ b/modules/node/node.module
@@ -2850,6 +2850,7 @@ function node_access_rebuild() {
// not using any node_access modules. add the default grant.
db_query("INSERT INTO {node_access} VALUES (0, 0, 'all', 1, 0, 0)");
}
+ cache_clear_all();
}
/**
* @} End of "defgroup node_access".