Improve plugin loading

This commit is contained in:
Frederic Guillot
2016-05-07 19:35:06 -04:00
parent 714bdb0d02
commit 8ddd566361
6 changed files with 177 additions and 114 deletions

View File

@@ -8,7 +8,6 @@ use Symfony\Component\EventDispatcher\EventDispatcher;
use Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher;
use Symfony\Component\Stopwatch\Stopwatch;
use SimpleLogger\Logger;
use SimpleLogger\File;
use Kanboard\Core\Session\FlashMessage;
use Kanboard\Core\Session\SessionStorage;
use Kanboard\ServiceProvider\ActionProvider;
@@ -91,9 +90,4 @@ abstract class Base extends PHPUnit_Framework_TestCase
{
$this->container['db']->closeConnection();
}
public function isWindows()
{
return substr(PHP_OS, 0, 3) === 'WIN';
}
}