mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-14 21:51:32 +00:00
remove old code, empty lines
This commit is contained in:
parent
c6e3aebc48
commit
909bfc4a30
|
@ -30,10 +30,6 @@ include("../inc/inc.Authentication.php");
|
||||||
|
|
||||||
$tmp = explode('.', basename($_SERVER['SCRIPT_FILENAME']));
|
$tmp = explode('.', basename($_SERVER['SCRIPT_FILENAME']));
|
||||||
$controller = Controller::factory($tmp[1]);
|
$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 */
|
/* Check if the form data comes from a trusted request */
|
||||||
if(!checkFormKey('removedocument')) {
|
if(!checkFormKey('removedocument')) {
|
||||||
|
|
|
@ -72,5 +72,4 @@ if (!$document->removeDocumentLink($linkid)) {
|
||||||
add_log_line("?documentid=".$documentid."&linkid=".$linkid);
|
add_log_line("?documentid=".$documentid."&linkid=".$linkid);
|
||||||
|
|
||||||
header("Location:../out/out.ViewDocument.php?documentid=".$documentid."¤ttab=links");
|
header("Location:../out/out.ViewDocument.php?documentid=".$documentid."¤ttab=links");
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user