refactoring from is_direct_user_input to is_token_user_input
refactoring of drupal7 (utils and db_query mysql injection)