From 58e4420a8bcfff9d3ecd99fbe60f4ba366123b05 Mon Sep 17 00:00:00 2001 From: yggverse Date: Sat, 13 Apr 2024 10:38:36 +0300 Subject: [PATCH] remove duplicated construction --- src/Entity/App.php | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/src/Entity/App.php b/src/Entity/App.php index e76d2f9..ed73cc6 100644 --- a/src/Entity/App.php +++ b/src/Entity/App.php @@ -89,15 +89,7 @@ class App if ('+' == $tabs->get_tab_label_text($child)) { - $page = $this->blankPage(); - - $this->tabs->show_all(); - - $this->tabs->set_current_page( - $this->tabs->page_num( - $page->box - ) - ); + $this->blankPage(); } } );