@@ -713,40 +713,5 @@ BOOL SVC_mysql_adaptor(enum plugin_op reason, const struct dlfuncs &data)
713713 mlog (LV_ERR, " mysql_adaptor: failed to startup" );
714714 return false ;
715715 }
716- #define E (f, s ) do { \
717- if (!register_service ((s), mysql_adaptor_ ## f)) { \
718- mlog (LV_ERR, " mysql_adaptor: failed to register the \" %s\" service" , (s)); \
719- return false ; \
720- } \
721- } while (false )
722- E (meta, " mysql_auth_meta" );
723- E (login2, " mysql_auth_login2" );
724- E (setpasswd, " set_password" );
725- E (get_username_from_id, " get_username_from_id" );
726- E (get_id_from_maildir, " get_id_from_maildir" );
727- E (get_user_displayname, " get_user_displayname" );
728- E (get_user_privilege_bits, " get_user_privilege_bits" );
729- E (set_user_lang, " set_user_lang" );
730- E (set_timezone, " set_timezone" );
731- E (get_homedir, " get_homedir" );
732- E (get_homedir_by_id, " get_homedir_by_id" );
733- E (get_id_from_homedir, " get_id_from_homedir" );
734- E (get_user_ids, " get_user_ids" );
735- E (get_domain_ids, " get_domain_ids" );
736- E (get_org_domains, " get_org_domains" );
737- E (get_domain_info, " get_domain_info" );
738- E (check_same_org, " check_same_org" );
739- E (get_domain_groups, " get_domain_groups" );
740- E (get_group_users, " get_group_users" );
741- E (get_domain_users, " get_domain_users" );
742- E (check_mlist_include, " check_mlist_include" );
743- E (check_same_org2, " check_same_org2" );
744- E (get_mlist_memb, " get_mlist_memb" );
745- E (get_user_aliases, " get_user_aliases" );
746- E (get_user_properties, " get_user_properties" );
747- E (scndstore_hints, " scndstore_hints" );
748- E (domain_list_query, " domain_list_query" );
749- E (get_homeserver, " get_homeserver" );
750- #undef E
751716 return TRUE ;
752717}
0 commit comments