Simple Machines Community Forum

SMF Support => SMF 1.1.x Support => Topic started by: Uiop on May 17, 2006, 12:05:43 PM

Title: Is It Safe To Delete?
Post by: Uiop on May 17, 2006, 12:05:43 PM
I've bene playing around with themes in my SMF installation, and noticed that when I clicked the red X next to themes in my control panel (to delete those themes) the MySQL entries were deleted for that theme but not the theme's folder on the server.  Is it safe to delete this folder?

Also, I tried to upload a theme and got a mkdir error because the theme was in a subdirectory in the archive.  The failed theme upload did not show up on my theme list in my admin panel nor did it create any MySQL entires, but the folder was placed.  I deleted the folder and have had no errors, is this OK?
Title: Re: Is It Safe To Delete?
Post by: gamesmad on May 17, 2006, 12:09:40 PM
Its perfectly fine to delete those folders, I have done it many times with no problems.

Will
Title: Re: Is It Safe To Delete?
Post by: Uiop on May 17, 2006, 07:09:47 PM
In both cases?
Title: Re: Is It Safe To Delete?
Post by: H on May 18, 2006, 12:37:22 PM
Yes
Title: Re: Is It Safe To Delete?
Post by: L.G.S on May 18, 2006, 01:18:22 PM
I have wondered why it does not delete the folder as well?
Title: Re: Is It Safe To Delete?
Post by: H on May 18, 2006, 01:28:26 PM
I have wondered why it does not delete the folder as well?

Probably because you could have modifications in there.

Also the default theme should also be kept because other themes link to it
Title: Re: Is It Safe To Delete?
Post by: L.G.S on May 18, 2006, 01:53:52 PM
No I mean if you delete a theme from the database (custom) why wouldn't you want the folder deleted?

If you had stuff to keep there you wouldn't remove it anyway
Title: Re: Is It Safe To Delete?
Post by: eriktm on May 18, 2006, 02:14:03 PM
No I mean if you delete a theme from the database (custom) why wouldn't you want the folder deleted?

I'm wondering too...
Title: Re: Is It Safe To Delete?
Post by: gamesmad on May 18, 2006, 03:11:52 PM
Its a 10 second job to fix, not really anything to worry about.

Will
Title: Re: Is It Safe To Delete?
Post by: L.G.S on May 18, 2006, 03:28:20 PM
I am not worrying about it, it's just a query.