25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-26 16:26:24 +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']}]), ['$1']}]),
filter_anonymous(Host, Mechs). 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() %% Service = string()
%% ServerFQDN = string() %% ServerFQDN = string()
%% UserRealm = string() %% UserRealm = string()

View File

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

View File

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

View File

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