Backing out patch for Bug 344276 - uninstalling extension forecastfox will freeze firefox on quit (no longer needed now that bug 347778 has landed).

This commit is contained in:
rob_strong%exchangecode.com 2006-08-08 18:16:11 +00:00
parent 53b814db53
commit 91f272dcda

View File

@ -1837,10 +1837,6 @@ function safeInstallOperation(itemID, installLocation, installCallback) {
*/
function moveFile(file, destination) {
try {
//XXXrstrong - Mac OS X is not reliably creating the destination
// directory when using moveTo (bug 344276 and bug 347778).
if (!destination.exists())
destination.create(nsILocalFile.DIRECTORY_TYPE, PERMS_DIRECTORY);
var oldFile = file.clone();
file.moveTo(destination, file.leafName);
movedFiles.push({ oldFile: oldFile, newFile: file });