Commit 174aa41d authored by Dries's avatar Dries
Browse files

- Patch #491978 by Berdir: remove unnecessary &s.

parent ecc24c5a
......@@ -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) == '') {
......
......@@ -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;
......
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment