1
Fork 0

removed return failsafe. (I just wont call the function from now on)

This commit is contained in:
Jake Howard 2014-07-30 22:32:18 +01:00
parent 538ed2d271
commit d493438c65

View file

@ -12,10 +12,7 @@ namespace Saviour_Backup_System
{ {
class setup class setup
{ {
public static void initProgram() public static void initProgram(){
{
return; // Stops the code running while testing.
string databaseName = databaseTools.databaseName; string databaseName = databaseTools.databaseName;
if (File.Exists(databaseName)) { return; } // If the program has been run before, then the database will exist, so use that to test it. if (File.Exists(databaseName)) { return; } // If the program has been run before, then the database will exist, so use that to test it.