From c7c58586ba23163d33f4df2077dbe4c5ad540292 Mon Sep 17 00:00:00 2001 From: Ale32bit Date: Sun, 11 Oct 2015 13:09:18 +0200 Subject: [PATCH] Update sPhone.lua --- src/sPhone.lua | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/src/sPhone.lua b/src/sPhone.lua index b7dc4c3..7eb6c69 100644 --- a/src/sPhone.lua +++ b/src/sPhone.lua @@ -512,11 +512,14 @@ end end local function home() - if not fs.exists("/.sPhone/config/resetDBNews") then - sPhone.winOk("We wiped sID Database","for security issues") - local f = fs.open("/.sPhone/config/resetDBNews","w") - f.write("Ignore me") - f.close() + --if not fs.exists("/.sPhone/config/resetDBNews") then + --sPhone.winOk("We wiped sID Database","for security issues") + --local f = fs.open("/.sPhone/config/resetDBNews","w") + --f.write("Ignore me") + --f.close() + --end + if fs.exists("/.sPhone/config/resetDBNews") then + fs.delete("/.sPhone/config/resetDBNews") end local function drawHome() local function box(x,y,text,bg,colorText,page)