summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--includes/xmlrpc.inc4
-rw-r--r--modules/field/modules/field_sql_storage/field_sql_storage.module2
-rw-r--r--modules/node/content_types.inc4
3 files changed, 5 insertions, 5 deletions
diff --git a/includes/xmlrpc.inc b/includes/xmlrpc.inc
index 99ad82011..767ca101f 100644
--- a/includes/xmlrpc.inc
+++ b/includes/xmlrpc.inc
@@ -51,7 +51,7 @@ function xmlrpc_value($data, $type = FALSE) {
* @see
* http://www.xmlrpc.com/spec#scalars
*/
-function xmlrpc_value_calculate_type(&$xmlrpc_value) {
+function xmlrpc_value_calculate_type($xmlrpc_value) {
// http://www.php.net/gettype: Never use gettype() to test for a certain type [...] Instead, use the is_* functions.
if (is_bool($xmlrpc_value->data)) {
return 'boolean';
@@ -156,7 +156,7 @@ function xmlrpc_message($message) {
* @return
* TRUE if parsing succeeded; FALSE otherwise
*/
-function xmlrpc_message_parse(&$xmlrpc_message) {
+function xmlrpc_message_parse($xmlrpc_message) {
// First remove the XML declaration
$xmlrpc_message->message = preg_replace('/<\?xml(.*)?\?' . '>/', '', $xmlrpc_message->message);
if (trim($xmlrpc_message->message) == '') {
diff --git a/modules/field/modules/field_sql_storage/field_sql_storage.module b/modules/field/modules/field_sql_storage/field_sql_storage.module
index 7b813835c..c9666d20f 100644
--- a/modules/field/modules/field_sql_storage/field_sql_storage.module
+++ b/modules/field/modules/field_sql_storage/field_sql_storage.module
@@ -202,7 +202,7 @@ function field_sql_storage_field_storage_delete_field($field_name) {
/**
* Implement hook_field_storage_load().
*/
-function field_sql_storage_field_storage_load($obj_type, &$objects, $age, $skip_fields = array()) {
+function field_sql_storage_field_storage_load($obj_type, $objects, $age, $skip_fields = array()) {
$etid = _field_sql_storage_etid($obj_type);
$load_current = $age == FIELD_LOAD_CURRENT;
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;