removed return failsafe. (I just wont call the function from now on)
This commit is contained in:
parent
538ed2d271
commit
d493438c65
1 changed files with 1 additions and 4 deletions
|
@ -12,10 +12,7 @@ namespace Saviour_Backup_System
|
|||
{
|
||||
class setup
|
||||
{
|
||||
public static void initProgram()
|
||||
{
|
||||
return; // Stops the code running while testing.
|
||||
|
||||
public static void initProgram(){
|
||||
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.
|
||||
|
||||
|
|
Reference in a new issue