From: Greg Burri Date: Mon, 28 Jul 2008 15:03:02 +0000 (+0000) Subject: MOD cleanage de code X-Git-Tag: 1.1.0~30 X-Git-Url: http://git.euphorik.ch/index.cgi?a=commitdiff_plain;h=8890d015ccd03d33e77c0efea744da98b6fd2f70;p=euphorik.git MOD cleanage de code --- diff --git a/doc/architecture_serveur.svg b/doc/architecture_serveur.svg index ccc0c42..67c1d55 100644 --- a/doc/architecture_serveur.svg +++ b/doc/architecture_serveur.svg @@ -13,7 +13,7 @@ id="svg2" sodipodi:version="0.32" inkscape:version="0.46" - sodipodi:docname="schema_serveur.svg" + sodipodi:docname="architecture_serveur.svg" inkscape:output_extension="org.inkscape.output.svg.inkscape"> @@ -59,15 +59,15 @@ inkscape:pageopacity="0.0" inkscape:pageshadow="2" inkscape:zoom="1.4" - inkscape:cx="306.37446" - inkscape:cy="563.19133" + inkscape:cx="327.96873" + inkscape:cy="545.33419" inkscape:document-units="px" inkscape:current-layer="layer1" showgrid="false" inkscape:window-width="1280" inkscape:window-height="943" - inkscape:window-x="-4" - inkscape:window-y="-4" /> + inkscape:window-x="0" + inkscape:window-y="52" /> @@ -92,29 +92,17 @@ y="304.53879" ry="6.8493543" /> - Dépendances inter-modules + transform="matrix(0.621787,0,0,0.621787,279.65243,508.24303)"> + y="647.71173" /> Mnesia + y="674.83069">Mnesia JSON/HTTP + + Utilise diff --git a/modules/erl/euphorik_bd.erl b/modules/erl/euphorik_bd.erl index 80130d0..cad8183 100755 --- a/modules/erl/euphorik_bd.erl +++ b/modules/erl/euphorik_bd.erl @@ -39,7 +39,7 @@ css_from_user_cookie/1, is_ek_master_from_cookie/1, - % messages :e + % messages : nouveau_message/3, nouveau_message_sys/1, nouveau_message_sys/2, @@ -476,15 +476,6 @@ parents_id(M_id) -> % ordrés du plus petit au plus grand. % @spec enfants_id(integer()) -> [integer()] enfants_id(M_id) -> -% resultat_transaction(mnesia:transaction(fun() -> -% e( -% qlc:sort( -% q([E#reponse_minichat.repondant || E <- mnesia:table(reponse_minichat), E#reponse_minichat.cible =:= M]), -% [{order, ascending}] -% ), -% [{tmpdir, ?KEY_SORT_TEMP_DIR}] -% ) -% end)). resultat_transaction(mnesia:transaction(fun() -> case mnesia:index_read(reponse_minichat, M_id, #reponse_minichat.cible) of Enfants when is_list(Enfants) ->