diff options
Diffstat (limited to 'modules/path/path.module')
-rw-r--r-- | modules/path/path.module | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/path/path.module b/modules/path/path.module index 9417f8eba..02ee9dc65 100644 --- a/modules/path/path.module +++ b/modules/path/path.module @@ -180,7 +180,7 @@ function path_form_element_validate($element, &$form_state, $complete_form) { /** * Implement hook_node_insert(). */ -function path_node_insert($node) { +function path_node_insert(stdClass $node) { if (isset($node->path)) { $path = $node->path; $path['alias'] = trim($path['alias']); @@ -197,7 +197,7 @@ function path_node_insert($node) { /** * Implement hook_node_update(). */ -function path_node_update($node) { +function path_node_update(stdClass $node) { if (isset($node->path)) { $path = $node->path; $path['alias'] = trim($path['alias']); @@ -218,7 +218,7 @@ function path_node_update($node) { /** * Implement hook_node_delete(). */ -function path_node_delete($node) { +function path_node_delete(stdClass $node) { // Delete all aliases associated with this node. path_delete(array('source' => 'node/' . $node->nid)); } |