1
0
Fork 0

Removed mount validation for switching from devel to production. This dissallowed to put system apps in development mode

This commit is contained in:
Michael Hackstein 2015-02-02 16:56:59 +01:00
parent cf5e3db098
commit 9df4fc8121
1 changed files with 0 additions and 2 deletions

View File

@ -824,7 +824,6 @@
"setDevelopment(<mount>)", "setDevelopment(<mount>)",
[ [ "Mount path", "string" ] ], [ [ "Mount path", "string" ] ],
[ mount ] ); [ mount ] );
utils.validateMount(mount);
var app = _toggleDevelopment(mount, true); var app = _toggleDevelopment(mount, true);
return app.simpleJSON(); return app.simpleJSON();
}; };
@ -838,7 +837,6 @@
"setProduction(<mount>)", "setProduction(<mount>)",
[ [ "Mount path", "string" ] ], [ [ "Mount path", "string" ] ],
[ mount ] ); [ mount ] );
utils.validateMount(mount);
var app = _toggleDevelopment(mount, false); var app = _toggleDevelopment(mount, false);
return app.simpleJSON(); return app.simpleJSON();
}; };