which can, in some context break indexes, when used on non bag table.
SVN Revision: 519
+2006-03-16 Mickael Remond <mickael.remond@process-one.net>
+
+ * src/ejabberd_sm.erl: Remove unnecessary use delete_object, which can,
+ in some context break indexes, when used on non bag table.
+
2006-03-16 Alexey Shchepin <alexey@sevcom.net>
* src/ejabberd_c2s.erl: Bugfix
[{'==', {node, '$1'}, Node}],
['$_']}]),
lists:foreach(fun(E) ->
- mnesia:delete_object(E)
+ mnesia:delete({session, E#session.sid})
end, Es)
end,
mnesia:sync_dirty(F).