extensionSystem: Set the proper 'enabled' and 'type' parameters

When installing an extension at runtime, we accidentally swapped the 'type'
and 'enabled' parameters. While this doesn't directly affect anything right
now, as everything works coincidentally, future patches that look at the
'type' parameter to decide what to do would get the wrong answer.
This commit is contained in:
Jasper St. Pierre 2011-11-30 22:02:09 -05:00
parent ef49670ae4
commit bbb83656bf

View File

@ -202,7 +202,7 @@ function gotExtensionZipFile(session, message, uuid) {
global.settings.set_strv(ENABLED_EXTENSIONS_KEY, enabledExtensions);
}
loadExtension(dir, true, ExtensionType.PER_USER);
loadExtension(dir, ExtensionType.PER_USER, true);
});
}