Drupal7edit

Edit sql and some functions.