Merge pull request #3813 from nfauchelle/patch-1

Flush should be off by default - consistant
This commit is contained in:
Sean Harvey 2015-08-28 12:49:24 +12:00
commit eca781ed91

View File

@ -78,9 +78,9 @@ class TestRunner extends Controller {
* top of the loader stacks. * top of the loader stacks.
*/ */
public static function use_test_manifest() { public static function use_test_manifest() {
$flush = true; $flush = false;
if(isset($_GET['flush']) && $_GET['flush'] === '0') { if(isset($_GET['flush']) && ($_GET['flush'] === '1' || $_GET['flush'] == 'all')) {
$flush = false; $flush = true;
} }
$classManifest = new SS_ClassManifest( $classManifest = new SS_ClassManifest(