mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-01 08:42:13 +00:00
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:
parent
53b814db53
commit
91f272dcda
@ -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 });
|
||||
|
Loading…
Reference in New Issue
Block a user