summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2009-06-05 21:56:07 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2009-06-05 21:56:07 +0000
commitd907375fc1b57cd7511cba85fdaa4c9a81a532bd (patch)
tree06952e28b5ac9e7c3071fcdd01a93ef2af982c91
parent831b2e0e103a5aa3f607bbfd3ac47899baef9842 (diff)
downloadbrdo-d907375fc1b57cd7511cba85fdaa4c9a81a532bd.tar.gz
brdo-d907375fc1b57cd7511cba85fdaa4c9a81a532bd.tar.bz2
#482920 follow-up by JamesAn: Fix typos and let the tests pass again.
-rw-r--r--modules/node/node.module6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/node/node.module b/modules/node/node.module
index af28dd192..d853da33f 100644
--- a/modules/node/node.module
+++ b/modules/node/node.module
@@ -789,7 +789,7 @@ function node_type_set_defaults($info = array()) {
* @param $hook
* A string containing the name of the hook.
* @return
- * TRUE iff the $hook exists in the node type of $node.
+ * TRUE if the $hook exists in the node type of $node.
*/
function node_hook($node, $hook) {
$base = node_type_get_base($node);
@@ -2870,7 +2870,7 @@ function node_access_rebuild($batch_mode = FALSE) {
}
else {
// Not using any node_access modules. Add the default grant.
- db_insert('node_accesss')
+ db_insert('node_access')
->fields(array(
'nid' => 0,
'realm' => 'all',
@@ -3392,7 +3392,7 @@ function node_requirements($phase) {
$requirements['node_access'] = array(
'title' => $t('Node Access Permissions'),
'value' => $value,
- 'description' => $description . ' ' . l('Rebuild Permissions', 'admin/reports/status/rebuild'),
+ 'description' => $description . ' ' . l(t('Rebuild permissions'), 'admin/reports/status/rebuild'),
);
return $requirements;
}