summaryrefslogtreecommitdiff
path: root/modules/node
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2009-06-15 10:10:47 +0000
committerDries Buytaert <dries@buytaert.net>2009-06-15 10:10:47 +0000
commit174aa41da0cdd8fde3c5daf304c372e5009331db (patch)
tree02fd6cba8c714ecc2d4bd732174109ebd9303fa9 /modules/node
parentecc24c5afac6e1bedff40e48d8f5bed77f66d836 (diff)
downloadbrdo-174aa41da0cdd8fde3c5daf304c372e5009331db.tar.gz
brdo-174aa41da0cdd8fde3c5daf304c372e5009331db.tar.bz2
- Patch #491978 by Berdir: remove unnecessary &s.
Diffstat (limited to 'modules/node')
-rw-r--r--modules/node/content_types.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/node/content_types.inc b/modules/node/content_types.inc
index c611f6753..6717d5743 100644
--- a/modules/node/content_types.inc
+++ b/modules/node/content_types.inc
@@ -389,12 +389,12 @@ function node_node_type($op, $info) {
* Resets all of the relevant fields of a module-defined node type to their
* default values.
*
- * @param &$type
+ * @param $type
* The node type to reset. The node type is passed back by reference with its
* resetted values. If there is no module-defined info for this node type,
* then nothing happens.
*/
-function node_type_reset(&$type) {
+function node_type_reset($type) {
$info_array = module_invoke_all('node_info');
if (isset($info_array[$type->orig_type])) {
$info_array[$type->orig_type]['type'] = $type->orig_type;