Commit 4d474a42 authored by Dorel Luca's avatar Dorel Luca
Browse files

Backed out changeset 18cdbda1b5e1 (bug 1574963) for build bustage in...

Backed out changeset 18cdbda1b5e1 (bug 1574963) for build bustage in /toolkit/profile/nsToolkitProfileService.cpp. CLOSED TREE
parent 3abfc57f
......@@ -942,10 +942,6 @@ var Policies = {
},
},
LegacyProfiles: {
// Handled in nsToolkitProfileService.cpp (Windows only)
},
LocalFileLinks: {
onBeforeAddons(manager, param) {
// If there are existing capabilities, lock them with the policy pref.
......
......@@ -477,10 +477,6 @@
}
},
"LegacyProfiles": {
"type": "boolean"
},
"LocalFileLinks": {
"type": "array",
"items": {
......
......@@ -14,7 +14,6 @@
#ifdef XP_WIN
# include <windows.h>
# include <shlobj.h>
# include "mozilla/PolicyChecks.h"
#endif
#ifdef XP_UNIX
# include <unistd.h>
......@@ -1798,12 +1797,9 @@ bool nsToolkitProfileService::IsSnapEnvironment() {
* application versions to different locations, some application sandboxing
* systems as well as enterprise deployments. This environment variable provides
* a way to opt out of dedicated profiles for these cases.
*
* For Windows, we provide a policy to accomplish the same thing.
*/
bool nsToolkitProfileService::UseLegacyProfiles() {
return !!PR_GetEnv("MOZ_LEGACY_PROFILES") ||
PolicyCheckBoolean(L"LegacyProfiles");
return !!PR_GetEnv("MOZ_LEGACY_PROFILES");
}
struct FindInstallsClosure {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment