Tuesday, August 18, 2009 at 7:35 PM.

photoFanSuite.freshStart

on freshStart () {
	<<Changes
		<<11/26/07; 9:05:26 AM by DW
			<<Created. Call this script when you want to completely restart the app, we toss all the data. No undo.
	if dialog.confirm ("Fresh start? (Can't be undone.)") {
		file.deletefolder (user.photoFan.prefs.folder);
		try {delete (@system.temp.flickrglue.feedCache)};
		try {delete (@user.photoFan)};
		photoFanSuite.init ();
		filemenu.save ()}};
bundle { //test code
	freshStart ()}



This listing is for code that runs in the OPML Editor environment. I created these listings because I wanted the search engines to index it, so that when I want to look up something in my codebase I don't have to use the much slower search functionality in my object database. Dave Winer.