Skip to content

Commit

Permalink
Unreachable statement
Browse files Browse the repository at this point in the history
  • Loading branch information
mambax7 committed Jul 12, 2020
1 parent 0f7e3b9 commit f6009b0
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 9 deletions.
1 change: 0 additions & 1 deletion admin/category.php
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,6 @@
Utility::cpHeader();
Utility::editCategory(true, $categoryId, $numberSubcats, $categoryObj);
exit();
break;
//end of fx2024 code

case 'cancel':
Expand Down
3 changes: 0 additions & 3 deletions admin/file.php
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down Expand Up @@ -144,7 +142,6 @@ function publisher_editFile($showmenu = false, $fileid = 0, $itemId = 0)
}

exit();
break;
case 'default':
default:
Utility::cpHeader();
Expand Down
1 change: 0 additions & 1 deletion admin/item.php
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,6 @@
xoops_cp_footer();
}
exit();
break;
case 'default':
default:
Utility::cpHeader();
Expand Down
1 change: 0 additions & 1 deletion file.php
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,5 @@
require_once $GLOBALS['xoops']->path('footer.php');
}
exit();
break;
}
require_once $GLOBALS['xoops']->path('footer.php');
3 changes: 0 additions & 3 deletions submit.php
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down Expand Up @@ -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());
Expand Down

0 comments on commit f6009b0

Please sign in to comment.