Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Attaching patch. The if-else structure is quite redundant, I'm not sure if the following abides to Drupal coding standards:
if ($boolean) {
// code
return $something;
}
// implicit else
return $something_else;
Un-tested patch.
Comment | File | Size | Author |
---|---|---|---|
echo_or_return_token.patch | 2.51 KB | flevour | |
Comments
Comment #1
brmassa CreditAttribution: brmassa commentedFrancesco,
i still dont know much how the final output for direct call should be. i dont know if printing the serialised array is the right thing to do.
im building a dummy module for testing OAuth. It still only uses XML RPC. I will commit in a few hours.
regards,
massa
Comment #2
brmassa CreditAttribution: brmassa commentedFrancesco,
for now, this values should be send thru Web Services.
regards,
massa