25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-22 16:20:52 +01:00

Fix Edoc comments

This commit is contained in:
Badlop 2010-07-23 13:36:35 +02:00
parent f5dc8d2f78
commit 0d065dd021
4 changed files with 6 additions and 6 deletions

View File

@ -151,7 +151,7 @@ listmech(Host) ->
['$1']}]),
filter_anonymous(Host, Mechs).
%% @spec (Service, ServerFQDN, UserRealm, SecFlags, GetPassword, CheckPassword, CheckPasswordDigest) -> saslstate()
%% @spec (Service, ServerFQDN, UserRealm, SecFlags, GetPassword, CheckPassword, CheckPasswordDigest, Socket) -> saslstate()
%% Service = string()
%% ServerFQDN = string()
%% UserRealm = string()

View File

@ -457,8 +457,6 @@ remove_user(User, Server, Password) ->
bad_request
end.
%% @spec () -> term()
update_table(Host, mnesia) ->
gen_storage_migration:migrate_mnesia(
Host, passwd,

View File

@ -93,7 +93,6 @@ table_info(Host, Tab, InfoKey) ->
end
end.
%% @spec create_table(backend(), Host::binary(), Name::atom(), options()) -> {atomic, ok} | {aborted, Reason}
%% @type options() = [option()]
%% @type option() = {odbc_host, string()}
@ -104,7 +103,9 @@ table_info(Host, Tab, InfoKey) ->
%% @type attributedef() = [{Column::atom(), columndef()}]
%% @type columndef() = text
%% | int
%% | tuple() with an arbitrary number of columndef()
%% | tuple()
%% With an arbitrary number of columndef()
%% option() is any mnesia option
%% columndef() defaults to text for all unspecified attributes

View File

@ -4,7 +4,8 @@
-include("ejabberd.hrl").
%% @type Migrations = [{OldTable, OldAttributes, MigrateFun}]
%% @spec (Host, Table, Migrations) -> any()
%% Migrations = [{OldTable, OldAttributes, MigrateFun}]
migrate_mnesia(Host, Table, Migrations) ->
SameTableName = [Migration
|| {OldTable, _, _} = Migration <- Migrations,