Why do you show messages in API functions that are supposed to be called from unknown places ? Would be nice to move them to standalone local function, that calls API functions. Also, optional (!!!) watchdog messages would be much better! So if I would want to convert units in my module, I didn't need to care about trash on the screen. My users don't want to know anything about APIs etc, and I think most users don't too.
Comments
Comment #1
raspberryman commentedAll watchdog now: http://drupal.org/cvs?commit=319030
Thanks for catching this, crea!