From bd1f3d6aaaaf14d6bb0ef6d18cbfb1a149d727dc Mon Sep 17 00:00:00 2001 From: nsensfel Date: Wed, 10 Oct 2018 17:21:10 +0200 Subject: (Broken) Working on DB item ID generation... --- src/roster/rst_handler.erl | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'src/roster/rst_handler.erl') diff --git a/src/roster/rst_handler.erl b/src/roster/rst_handler.erl index 3d6073b..3b23f0c 100644 --- a/src/roster/rst_handler.erl +++ b/src/roster/rst_handler.erl @@ -18,18 +18,6 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -spec start (pid()) -> 'ok'. start (TimedCachesManagerPid) -> - case shr_database:fetch(roster_db, <<"0">>, admin) of - {ok, _} -> ok; - not_found -> - shr_database:insert_at - ( - roster_db, - <<"0">>, - any, - any, - rst_shim:generate_random_character_roster() - ) - end, shr_timed_caches_manager:new_cache(TimedCachesManagerPid, roster_db, none), ok. -- cgit v1.2.3-70-g09d2