summaryrefslogtreecommitdiff
path: root/public/update
diff options
context:
space:
mode:
authorDavid T. Sadler <davidtsadler@googlemail.com>2021-10-26 21:07:43 +0100
committerDavid T. Sadler <davidtsadler@googlemail.com>2021-10-26 21:07:43 +0100
commitae205d810b62dce5e3e11aef07358c11ded48c77 (patch)
tree0196ae98aefb93b719d6b21cc065e22c1ecf992b /public/update
parentd4122f116c937e0ec509d8cefe540146ec27a0cd (diff)
Implement old
Diffstat (limited to 'public/update')
-rw-r--r--public/update/index.php5
1 files changed, 5 insertions, 0 deletions
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()) {