/**
  * Uninstall this module
  *
  * @param void
  * @return boolean
  */
 function uninstall()
 {
     db_begin_work();
     $name = $this->name;
     ProjectObjects::deleteByModule($name);
     ConfigOptions::deleteByModule($name);
     EmailTemplates::deleteByModule($name);
     cache_clear();
     $delete = $this->delete();
     if ($delete && !is_error($delete)) {
         db_commit();
         return true;
     } else {
         db_rollback();
         return $delete;
     }
     // if
 }