From 46d01bd09ac0858edfac61f918392b7bf5e86579 Mon Sep 17 00:00:00 2001 From: Awilum Date: Sun, 15 Mar 2020 11:58:34 +0300 Subject: [PATCH] refactor(core): remove flash from the core #414 --- composer.json | 1 - flextype/dependencies.php | 7 ------- 2 files changed, 8 deletions(-) diff --git a/composer.json b/composer.json index 81ef46fc..2b837865 100755 --- a/composer.json +++ b/composer.json @@ -38,7 +38,6 @@ "flextype-components/text" : "1.1.2", "slim/slim": "~3.12.3", - "slim/flash": "~0.4.0", "zeuxisoo/slim-whoops": "~0.6.5", diff --git a/flextype/dependencies.php b/flextype/dependencies.php index 59e8b4d0..8e812397 100644 --- a/flextype/dependencies.php +++ b/flextype/dependencies.php @@ -87,13 +87,6 @@ $flextype['slugify'] = static function ($container) { ]); }; -/** - * Add flash service to Flextype container - */ -$flextype['flash'] = static function ($container) { - return new Messages(); -}; - /** * Adds the cache adapter to the Flextype container */