From 2ab5661583d74b03c86bb4f437616bb634d9c4fc Mon Sep 17 00:00:00 2001 From: "David T. Sadler" Date: Tue, 12 Oct 2021 20:41:49 +0100 Subject: Add delete --- public/edit/index.php | 2 -- 1 file changed, 2 deletions(-) (limited to 'public/edit') diff --git a/public/edit/index.php b/public/edit/index.php index 0cc1c27..65b3fa5 100644 --- a/public/edit/index.php +++ b/public/edit/index.php @@ -16,8 +16,6 @@ $template = new Template($config['path_to_templates']); $id = filter_input(INPUT_GET, 'id') ?? filter_input(INPUT_POST, 'id') ?? null; -$bookmarks->load(); - $bookmark = $bookmarks->find($id); if ('POST' === filter_input(INPUT_SERVER, 'REQUEST_METHOD')) { -- cgit v1.2.3-13-gbd6f