From 74d6f0a68d4bf3c147bced12da60d24e82b6c6c4 Mon Sep 17 00:00:00 2001 From: Badlop Date: Sat, 25 May 2024 22:17:38 +0200 Subject: [PATCH] WebAdmin: logo-fill.png is useless since the visual refresh in commit 9eeee67 --- priv/img/admin-logo-fill.png | Bin 177 -> 0 bytes src/ejabberd_web_admin.erl | 13 ------------- 2 files changed, 13 deletions(-) delete mode 100644 priv/img/admin-logo-fill.png diff --git a/priv/img/admin-logo-fill.png b/priv/img/admin-logo-fill.png deleted file mode 100644 index 862163c504494e431ba84cbd8faa3af1b3069e10..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 177 zcmeAS@N?(olHy`uVBq!ia0vp^Y(Q+z!VDzu9#Ja>QjEnx?oJHr&dIz4a^wPhLR_zv z@%`&!`q#(zZ<5fzd0PM0dHvg!_3u>AziZ3>Jv(-;{?Z?yN=Hu@#}JO|sfWD<4=4z* zI@&d=xa%Y^az`9s61&DER>1w>], _) -> {<<"localhost">>, [all]}; get_acl_rule([<<"logo.png">>], _) -> {<<"localhost">>, [all]}; -get_acl_rule([<<"logo-fill.png">>], _) -> - {<<"localhost">>, [all]}; get_acl_rule([<<"favicon.ico">>], _) -> {<<"localhost">>, [all]}; get_acl_rule([<<"additions.js">>], _) -> @@ -388,12 +386,6 @@ logo() -> {error, _} -> <<>> end. -logo_fill() -> - case misc:read_img("admin-logo-fill.png") of - {ok, Img} -> Img; - {error, _} -> <<>> - end. - %%%================================== %%%% process_admin @@ -458,11 +450,6 @@ process_admin(_Host, #request{path = [<<"logo.png">>]}, _) -> [{<<"Content-Type">>, <<"image/png">>}, last_modified(), cache_control_public()], logo()}; -process_admin(_Host, #request{path = [<<"logo-fill.png">>]}, _) -> - {200, - [{<<"Content-Type">>, <<"image/png">>}, last_modified(), - cache_control_public()], - logo_fill()}; process_admin(_Host, #request{path = [<<"additions.js">>]}, _) -> {200, [{<<"Content-Type">>, <<"text/javascript">>},