]> granicus.if.org Git - ejabberd/commitdiff
Remove wrong index setting
authorChristophe Romain <christophe.romain@process-one.net>
Tue, 17 Jan 2017 15:23:45 +0000 (16:23 +0100)
committerChristophe Romain <christophe.romain@process-one.net>
Tue, 17 Jan 2017 15:23:45 +0000 (16:23 +0100)
src/mod_roster_mnesia.erl

index c05716b787980a0292a2e0d4fab0d8fede1540f0..e1a1fa1b545704190e643bcfa8a45690676f1068 100644 (file)
@@ -47,8 +47,7 @@ init(_Host, _Opts) ->
     ejabberd_mnesia:create(?MODULE, roster_version,
                        [{disc_copies, [node()]},
                         {attributes,
-                         record_info(fields, roster_version)},
-                        {index, [us]}]),
+                         record_info(fields, roster_version)}]),
     update_tables().
 
 read_roster_version(LUser, LServer) ->