summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorxjm2012-04-15 12:04:01 (GMT)
committer xjm2012-04-15 12:04:01 (GMT)
commit2700ec708894c3fa93b5b13d32750b64a63df5b1 (patch)
treeea93e6dea03b49e27a66c75339f56fca841a40cb
parent801843271f4cdd341755ef8fd1afe2a5f2bde502 (diff)
Issue #1511508 by xjm: Fixed Update #7002 displays message '1' when running update.php.
-rw-r--r--taxonomy_access.install7
1 files changed, 6 insertions, 1 deletions
diff --git a/taxonomy_access.install b/taxonomy_access.install
index a91b330..cbe742f 100644
--- a/taxonomy_access.install
+++ b/taxonomy_access.install
@@ -206,7 +206,12 @@ function taxonomy_access_update_7002() {
}
}
- return taxonomy_access_set_default_grants($records);
+ if (taxonomy_access_set_default_grants($records)) {
+ return t('Update completed successfully.');
+ }
+ else {
+ return t('Update failed.');
+ }
}
/**