mirror of
https://github.com/processone/ejabberd
synced 2025-10-04 10:19:31 +02:00
Remove unused code
This commit is contained in:
parent
c9b82ff1e5
commit
a1a46f7df5
1 changed files with 1 additions and 5 deletions
|
@ -293,9 +293,7 @@ extract(zip, Zip, DestDir) ->
|
||||||
Error -> Error
|
Error -> Error
|
||||||
end;
|
end;
|
||||||
extract(tar, Tar, DestDir) ->
|
extract(tar, Tar, DestDir) ->
|
||||||
erl_tar:extract(Tar, [compressed, {cwd, DestDir}]);
|
erl_tar:extract(Tar, [compressed, {cwd, DestDir}]).
|
||||||
extract(_, _, _) ->
|
|
||||||
{error, unknown_format}.
|
|
||||||
|
|
||||||
extract_url(Path, DestDir) ->
|
extract_url(Path, DestDir) ->
|
||||||
hd([extract_github_master(Path, DestDir) || string:str(Path, "github") > 0]
|
hd([extract_github_master(Path, DestDir) || string:str(Path, "github") > 0]
|
||||||
|
@ -405,8 +403,6 @@ check_sources(Module) ->
|
||||||
{value, {Key, Val}} -> [{invalid_meta, {Key, Val}}|Acc]
|
{value, {Key, Val}} -> [{invalid_meta, {Key, Val}}|Acc]
|
||||||
end
|
end
|
||||||
end, [], [author, summary, home, url]);
|
end, [], [author, summary, home, url]);
|
||||||
{error, enoent} ->
|
|
||||||
[];
|
|
||||||
{error, Error} ->
|
{error, Error} ->
|
||||||
[{invalid_spec, Error}]
|
[{invalid_spec, Error}]
|
||||||
end,
|
end,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue