MCore change

This commit is contained in:
Olof Larsson 2013-10-18 14:52:32 +02:00
parent 248c38b1b3
commit fa0c8686c1
3 changed files with 5 additions and 6 deletions

View File

@ -21,7 +21,7 @@ public class BoardColl extends Coll<Board> implements BoardInterface
public BoardColl(String name) public BoardColl(String name)
{ {
super(name, Board.class, MStore.getDb(ConfServer.dburi), Factions.get(), true, true); super(name, Board.class, MStore.getDb(ConfServer.dburi), Factions.get(), false, true, true);
} }
// -------------------------------------------- // // -------------------------------------------- //

View File

@ -17,7 +17,7 @@ public class MConfColl extends Coll<MConf>
public static MConfColl get() { return i; } public static MConfColl get() { return i; }
private MConfColl() private MConfColl()
{ {
super(Const.COLLECTION_BASENAME_MCONF, MConf.class, MStore.getDb(ConfServer.dburi), Factions.get(), true, false); super(Const.COLLECTION_BASENAME_MCONF, MConf.class, MStore.getDb(ConfServer.dburi), Factions.get());
} }
// -------------------------------------------- // // -------------------------------------------- //
@ -29,7 +29,7 @@ public class MConfColl extends Coll<MConf>
{ {
super.init(); super.init();
MConf.i = this.get(MCore.INSTANCE); MConf.i = this.get(MCore.INSTANCE, true);
} }
} }

View File

@ -14,7 +14,7 @@ public class UConfColl extends Coll<UConf>
public UConfColl(String name) public UConfColl(String name)
{ {
super(name, UConf.class, MStore.getDb(ConfServer.dburi), Factions.get(), true, false); super(name, UConf.class, MStore.getDb(ConfServer.dburi), Factions.get());
} }
// -------------------------------------------- // // -------------------------------------------- //
@ -25,8 +25,7 @@ public class UConfColl extends Coll<UConf>
public void init() public void init()
{ {
super.init(); super.init();
this.get(MCore.INSTANCE, true);
this.get(MCore.INSTANCE);
} }
} }