remove redundant checks in wake of 980de904e
[ardour.git] / scripts / mixer_settings_store.lua
index 197fcd8ed740ef650bb4d7df6509064464740618..5adaac5d7d32ef314522afeafd6195746735a28f 100644 (file)
@@ -53,10 +53,6 @@ function factory () return function ()
                if not(isdir(global_path)) then
                        global_ok, _, _ = os.execute('mkdir '.. global_path)
                        if global_ok == 0 then
-                               local default_file = ARDOUR.LuaAPI.build_filename(global_path, 'FactoryDefault-'..whoami()..'.lua')
-                               local file = io.open(default_file, "w")
-                               file:write("")
-                               file:close()
                                global_ok = true
                        end
                else
@@ -65,10 +61,6 @@ function factory () return function ()
                if not(isdir(local_path)) then
                        local_ok, _, _ = os.execute('mkdir '.. local_path)
                        if local_ok == 0 then
-                               local stub_file = ARDOUR.LuaAPI.build_filename(local_path, 'stub')
-                               local file = io.open(stub_file, "w")
-                               file:write("")
-                               file:close()
                                local_ok = true
                        end
                else