From 4a4353e1fcfcc2cb7d947f79a58bb94a1cda1704 Mon Sep 17 00:00:00 2001 From: Albert Iordache Date: Thu, 24 Nov 2011 13:41:20 +0200 Subject: [PATCH] Commented out some more forum-sql related code --- code/datums/configuration.dm | 4 ++-- code/defines/global.dm | 6 +++--- code/game/cellautomata.dm | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/code/datums/configuration.dm b/code/datums/configuration.dm index 68f358abc25..f967bdccbdf 100644 --- a/code/datums/configuration.dm +++ b/code/datums/configuration.dm @@ -299,7 +299,7 @@ else diary << "Unknown setting in configuration: '[name]'" -/datum/configuration/proc/loadforumsql(filename) // -- TLE +/*/datum/configuration/proc/loadforumsql(filename) // -- TLE var/text = file2text(filename) if (!text) @@ -350,7 +350,7 @@ if ("authenticatedgroup") forum_authenticated_group = value else - diary << "Unknown setting in configuration: '[name]'" + diary << "Unknown setting in configuration: '[name]'"*/ /datum/configuration/proc/pick_mode(mode_name) // I wish I didn't have to instance the game modes in order to look up diff --git a/code/defines/global.dm b/code/defines/global.dm index 9e7852c4d23..ac16bb8d921 100644 --- a/code/defines/global.dm +++ b/code/defines/global.dm @@ -170,7 +170,7 @@ var - // MySQL configuration + // MySQL configuration. You can also use the config/dbconfig.txt file. sqladdress = "localhost" sqlport = "3306" @@ -192,10 +192,10 @@ var // These are all default values that will load should the forumdbconfig.txt // file fail to read for whatever reason. - forumsqladdress = "localhost" + /*forumsqladdress = "localhost" forumsqlport = "3306" forumsqldb = "tgstation" forumsqllogin = "root" forumsqlpass = "" forum_activated_group = "2" - forum_authenticated_group = "10" \ No newline at end of file + forum_authenticated_group = "10"*/ \ No newline at end of file diff --git a/code/game/cellautomata.dm b/code/game/cellautomata.dm index dacbdf2ebb3..46449af5378 100644 --- a/code/game/cellautomata.dm +++ b/code/game/cellautomata.dm @@ -66,7 +66,7 @@ config.load("config/config.txt") config.load("config/game_options.txt","game_options") config.loadsql("config/dbconfig.txt") - config.loadforumsql("config/forumdbconfig.txt") + //config.loadforumsql("config/forumdbconfig.txt") // apply some settings from config.. abandon_allowed = config.respawn