mirror of
https://github.com/silverstripe/silverstripe-testsession
synced 2024-10-22 14:06:00 +02:00
Removed inst(), its duplicating Injector functionality
This commit is contained in:
parent
8eaeeb39d1
commit
2f85acdd18
@ -38,18 +38,6 @@ class TestSessionEnvironment extends Object {
|
||||
*/
|
||||
private static $test_state_file;
|
||||
|
||||
/**
|
||||
* @var TestSessionEnvironment A singleton of this TestSessionEnvironment, for use with ::inst()
|
||||
*/
|
||||
private static $instance = null;
|
||||
|
||||
public static function inst() {
|
||||
if (!self::$instance) {
|
||||
self::$instance = new TestSessionEnvironment();
|
||||
}
|
||||
return self::$instance;
|
||||
}
|
||||
|
||||
/**
|
||||
* Tests for the existence of the file specified by $this->test_state_file
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user