Remove drupal_set_message() from API functions

crea - July 26, 2009 - 23:04
Project:Units API
Version:6.x-1.0-alpha1
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active
Description

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.

 
 

Drupal is a registered trademark of Dries Buytaert.