summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornsensfel <SpamShield0@noot-noot.org>2018-10-10 17:21:10 +0200
committernsensfel <SpamShield0@noot-noot.org>2018-10-10 17:21:10 +0200
commitbd1f3d6aaaaf14d6bb0ef6d18cbfb1a149d727dc (patch)
tree61da130e46771e413eb436081ade78b2b220cae9 /src/roster
parent69c0a530f82c8158da454ee0e10678dd417f1533 (diff)
(Broken) Working on DB item ID generation...
Diffstat (limited to 'src/roster')
-rw-r--r--src/roster/rst_handler.erl12
1 files changed, 0 insertions, 12 deletions
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.