diff --git a/admin/category.php b/admin/category.php index 20ffac1f..4063838a 100644 --- a/admin/category.php +++ b/admin/category.php @@ -176,7 +176,6 @@ Utility::cpHeader(); Utility::editCategory(true, $categoryId, $numberSubcats, $categoryObj); exit(); - break; //end of fx2024 code case 'cancel': diff --git a/admin/file.php b/admin/file.php index 1cbd6bc5..61fe5bbe 100644 --- a/admin/file.php +++ b/admin/file.php @@ -80,11 +80,9 @@ function publisher_editFile($showmenu = false, $fileid = 0, $itemId = 0) case 'uploadfile': Utility::uploadFile(false, true, $false); exit; - break; case 'uploadanother': Utility::uploadFile(true, true, $false); exit; - break; case 'mod': $fileid = Request::getInt('fileid', 0, 'GET'); $itemId = Request::getInt('itemid', 0, 'GET'); @@ -144,7 +142,6 @@ function publisher_editFile($showmenu = false, $fileid = 0, $itemId = 0) } exit(); - break; case 'default': default: Utility::cpHeader(); diff --git a/admin/item.php b/admin/item.php index eb90e235..8344a7cc 100644 --- a/admin/item.php +++ b/admin/item.php @@ -155,7 +155,6 @@ xoops_cp_footer(); } exit(); - break; case 'default': default: Utility::cpHeader(); diff --git a/file.php b/file.php index 9a15f456..652e59f7 100644 --- a/file.php +++ b/file.php @@ -122,6 +122,5 @@ require_once $GLOBALS['xoops']->path('footer.php'); } exit(); - break; } require_once $GLOBALS['xoops']->path('footer.php'); diff --git a/submit.php b/submit.php index bb45600e..09c5e4c6 100644 --- a/submit.php +++ b/submit.php @@ -152,7 +152,6 @@ require_once $GLOBALS['xoops']->path('footer.php'); } exit(); - break; case 'preview': // Putting the values about the ITEM in the ITEM object $itemObj->setVarsFromRequest(); @@ -192,8 +191,6 @@ $sform->assign($xoopsTpl); require_once $GLOBALS['xoops']->path('footer.php'); exit(); - - break; case 'post': // Putting the values about the ITEM in the ITEM object // print_r($itemObj->getVars());