remove old code, empty lines

This commit is contained in:
Uwe Steinmann 2017-11-21 08:47:49 +01:00
parent c6e3aebc48
commit 909bfc4a30
2 changed files with 0 additions and 5 deletions

View File

@ -30,10 +30,6 @@ include("../inc/inc.Authentication.php");
$tmp = explode('.', basename($_SERVER['SCRIPT_FILENAME']));
$controller = Controller::factory($tmp[1]);
//$accessop = new SeedDMS_AccessOperation($dms, $user, $settings);
//if (!$accessop->check_controller_access($controller, $_POST)) {
// UI::exitError(getMLText("document_title", array("documentname" => "")),getMLText("access_denied"));
//}
/* Check if the form data comes from a trusted request */
if(!checkFormKey('removedocument')) {

View File

@ -72,5 +72,4 @@ if (!$document->removeDocumentLink($linkid)) {
add_log_line("?documentid=".$documentid."&linkid=".$linkid);
header("Location:../out/out.ViewDocument.php?documentid=".$documentid."&currenttab=links");
?>