From ae205d810b62dce5e3e11aef07358c11ded48c77 Mon Sep 17 00:00:00 2001 From: "David T. Sadler" Date: Tue, 26 Oct 2021 21:07:43 +0100 Subject: Implement old --- public/update/index.php | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'public/update/index.php') diff --git a/public/update/index.php b/public/update/index.php index d194dbd..1bccfa4 100644 --- a/public/update/index.php +++ b/public/update/index.php @@ -3,6 +3,7 @@ declare(strict_types=1); use DTS\BookmarkRepository; +use DTS\Old; use DTS\Session; use DTS\Validator; @@ -29,6 +30,10 @@ if ($bookmark === null) { respondAndExit(404, 'Not Found'); } +$old = new Old($_REQUEST); + +$session->set('old', $old); + $validator = new Validator($_REQUEST); if ($validator->errors->count()) { -- cgit v1.2.3-13-gbd6f