diff --git a/lib/Alchemy/Phrasea/Core/Provider/ConfigurationTesterServiceProvider.php b/lib/Alchemy/Phrasea/Core/Provider/ConfigurationTesterServiceProvider.php index ac61a2234c..ddeb34d411 100644 --- a/lib/Alchemy/Phrasea/Core/Provider/ConfigurationTesterServiceProvider.php +++ b/lib/Alchemy/Phrasea/Core/Provider/ConfigurationTesterServiceProvider.php @@ -13,7 +13,6 @@ namespace Alchemy\Phrasea\Core\Provider; use Alchemy\Phrasea\Setup\ConfigurationTester; use Alchemy\Phrasea\Application; -use Alchemy\Phrasea\Setup\Version\PreSchemaUpgrade\PreSchemaUpgradeCollection; use Silex\Application as SilexApplication; use Silex\ServiceProviderInterface; @@ -25,10 +24,6 @@ class ConfigurationTesterServiceProvider implements ServiceProviderInterface $app['phraseanet.configuration-tester'] = $app->share(function (Application $app) { return new ConfigurationTester($app); }); - - $app['phraseanet.pre-schema-upgrader'] = $app->share(function () { - return new PreSchemaUpgradeCollection(); - }); } public function boot(SilexApplication $app) diff --git a/lib/Alchemy/Phrasea/Setup/Version/PreSchemaUpgrade/PreSchemaUpgradeCollection.php b/lib/Alchemy/Phrasea/Setup/Version/PreSchemaUpgrade/PreSchemaUpgradeCollection.php deleted file mode 100644 index 866ba3b07e..0000000000 --- a/lib/Alchemy/Phrasea/Setup/Version/PreSchemaUpgrade/PreSchemaUpgradeCollection.php +++ /dev/null @@ -1,41 +0,0 @@ -upgrades as $upgrade) { - if ($upgrade->isApplyable($app)) { - $upgrade->apply($app['EM']); - } - } - } -} diff --git a/lib/Alchemy/Phrasea/Setup/Version/PreSchemaUpgrade/PreSchemaUpgradeInterface.php b/lib/Alchemy/Phrasea/Setup/Version/PreSchemaUpgrade/PreSchemaUpgradeInterface.php deleted file mode 100644 index e21f2423ff..0000000000 --- a/lib/Alchemy/Phrasea/Setup/Version/PreSchemaUpgrade/PreSchemaUpgradeInterface.php +++ /dev/null @@ -1,38 +0,0 @@ -set_current_message(_('Creating new tables')); - $app['phraseanet.pre-schema-upgrader']->apply($app); - $upgrader->add_steps_complete(1); /**