Commit 5609c8a2 authored by anarcat's avatar anarcat

1132514 - fix deploy in Drupal 5

we were relying on a function present only in D6 (node_access_needs_rebuild()) - if it is not present, we'll rebuild the node_access tables anyways
parent 7a8b9b97
......@@ -147,7 +147,7 @@ function drush_provision_drupal_post_provision_deploy() {
// rebuild the node access tables only if necessary
if (node_access_needs_rebuild()) {
if (!function_exists("node_access_needs_rebuild") || node_access_needs_rebuild()) {
drush_log(t('Rebuilt node access table'));
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment