Closed (fixed)
Project:
ecard
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
19 Nov 2009 at 17:11 UTC
Updated:
4 Dec 2009 at 11:40 UTC
Jump to comment: Most recent file
Comments
Comment #1
kars-t commentedI think this is a good idea.
But please reroll the patch against the latest CVS version of Branch 6.1. This patch is against latest release version 1.1.4.7. Current version is 1.1.4.15. And if you are really cool please make a patch agains version 6.2 as well! :D
Comment #2
mmccollow commentedMy apologies, still new to CVS! Here are patches for DRUPAL-6--1 and DRUPAL-6--2.
Comment #3
kars-t commentedGreat thanks! Took me around 3 Weeks to get a grip on CVS and I still hate tags and branches. You are really not alone! ;)
Maybe we could just use
instead of a function. Currently I think this should be enough but I will think about this. The current function names are problematic because there could be naming conflicts as we lack name-spaces. Maybe "ecard_get_user_mail" would be enough but it feels like some API piece missing or already existing that should not be part of the ecard module. Maybe I find something fitting in the API.
Minor thing: The coding conventions say that there has to be a comma at the end of every array item.
And another minor thing: IMO such API functions should move to the end of the file. But this is really cosmetic and I use IDE's that have an code outline that is alphabetic.
This review is powered by Dreditor.
Comment #4
mmccollow commentedYou're right, the ternary statements are much more concise and suitable than functions here. I've made that change and added commas to the end of those array items.
Comment #5
kars-t commented#637462 by mmccollow | Kars-T: Added Automatically fill in sender name and email for authenticated users.
Commited to both branches! :D
@mmccollow If you are using the dev version could you please send me a mail if it runs fine? If not stay tuned for simpletest.