mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-02-11 09:35:00 +00:00
pass access object to view, don't use mode anymore
This commit is contained in:
parent
7f28008d5d
commit
37fb2e2c47
|
@ -33,7 +33,6 @@ if (!$accessop->check_view_access($view, $_GET)) {
|
|||
UI::exitError(getMLText("calendar"),getMLText("access_denied"));
|
||||
}
|
||||
|
||||
if ($_GET["mode"]) $mode=$_GET["mode"];
|
||||
if (isset($_GET["start"])) $start=$_GET["start"];
|
||||
else $start = '';
|
||||
if (isset($_GET["end"])) $end=$_GET["end"];
|
||||
|
@ -74,6 +73,7 @@ if($view) {
|
|||
$view->setParam('previewWidthList', $settings->_previewWidthList);
|
||||
$view->setParam('previewWidthDetail', $settings->_previewWidthDetail);
|
||||
$view->setParam('timeout', $settings->_cmdTimeout);
|
||||
$view->setParam('accessobject', $accessop);
|
||||
$view($_GET);
|
||||
exit;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user