Browse Source

mtree: don't safety check for db con in mod child

- proper connection will be returned based on pid condition
Daniel-Constantin Mierla 14 years ago
parent
commit
11b19d2f5f
1 changed files with 0 additions and 2 deletions
  1. 0 2
      modules/mtree/mtree_mod.c

+ 0 - 2
modules/mtree/mtree_mod.c

@@ -327,8 +327,6 @@ error1:
  */
 static int mi_child_init(void)
 {
-	if(db_con!=NULL)
-		return 0;
 	db_con = mt_dbf.init(&db_url);
 	if(db_con==NULL)
 	{