From 53d2c15da2bae5a580d0dd13836e03bf61ff3ddf Mon Sep 17 00:00:00 2001 From: BrianTeeman Date: Thu, 17 Oct 2024 10:24:16 +0100 Subject: [PATCH] [5.3] Remove autostart temp code #43031 introduced some code > At this point, the autostart is not present as an option to the user. Once we have the full functionality (we will make auto-start as an option to the tour in the form), we can remove that additional test. The full functionality is now available and this code can be removed. Testing is simple just try and duplicate an existing tour. It should be successfuly duplicated both with and without this PR Signed-off-by: BrianTeeman --- .../components/com_guidedtours/src/Table/TourTable.php | 6 ------ 1 file changed, 6 deletions(-) diff --git a/administrator/components/com_guidedtours/src/Table/TourTable.php b/administrator/components/com_guidedtours/src/Table/TourTable.php index 98d739a7fce62..65c516e9efafa 100644 --- a/administrator/components/com_guidedtours/src/Table/TourTable.php +++ b/administrator/components/com_guidedtours/src/Table/TourTable.php @@ -109,12 +109,6 @@ public function store($updateNulls = true) $this->setTourUid(); } - // set autostart - // @todo: remove once autostart has been added to the tour form - if (\is_null($this->autostart)) { - $this->autostart = 0; - } - // make sure the uid is unique $this->ensureUniqueUid();