From 5a6e793f78bdd9f4d54951b7831f829007fd9f5e Mon Sep 17 00:00:00 2001 From: Thulinma <jaron@vietors.com> Date: Mon, 23 Jun 2014 21:49:28 +0200 Subject: [PATCH] Removed faulty basepath default setting. --- src/controller/controller.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/controller/controller.cpp b/src/controller/controller.cpp index 5754bb42..92d66ffc 100644 --- a/src/controller/controller.cpp +++ b/src/controller/controller.cpp @@ -263,9 +263,6 @@ void createAccount (std::string account){ Controller::Storage["account"][uname]["password"] = Secure::md5(pword); } } - if ( !Controller::Storage["config"].isMember("basePath")){ - Controller::Storage["config"]["basePath"] = Util::getMyPath(); - } } ///\brief The main entry point for the controller.