Skip to content

Commit 32e2593

Browse files
authored
fix co back handling with locked editing (ILIAS-eLearning#8636)
1 parent 28de4d2 commit 32e2593

File tree

3 files changed

+0
-41
lines changed

3 files changed

+0
-41
lines changed

Modules/DataCollection/classes/CreateView/class.ilDclCreateViewDefinitionGUI.php

-15
Original file line numberDiff line numberDiff line change
@@ -143,21 +143,6 @@ public function deleteView(): void
143143
$ilCtrl->redirectByClass("ilDclTableViewEditGUI", "editGeneralSettings");
144144
}
145145

146-
/**
147-
* Release page lock
148-
* overwrite to redirect properly
149-
*/
150-
public function releasePageLock(): void
151-
{
152-
global $DIC;
153-
$ilCtrl = $DIC['ilCtrl'];
154-
$lng = $DIC['lng'];
155-
156-
$this->getPageObject()->releasePageLock();
157-
$this->tpl->setOnScreenMessage('success', $lng->txt("cont_page_lock_released"), true);
158-
$ilCtrl->redirectByClass('ilDclTableViewGUI', "show");
159-
}
160-
161146
/**
162147
* Finalizing output processing
163148
* @param string $a_output

Modules/DataCollection/classes/DetailedView/class.ilDclDetailedViewDefinitionGUI.php

-11
Original file line numberDiff line numberDiff line change
@@ -164,17 +164,6 @@ public function deleteView(): void
164164
$this->ctrl->redirectByClass(self::class, "edit");
165165
}
166166

167-
/**
168-
* Release page lock
169-
* overwrite to redirect properly
170-
*/
171-
public function releasePageLock(): void
172-
{
173-
$this->getPageObject()->releasePageLock();
174-
$this->tpl->setOnScreenMessage('success', $this->lng->txt("cont_page_lock_released"), true);
175-
$this->ctrl->redirectByClass('ilDclTableViewGUI', "show");
176-
}
177-
178167
/**
179168
* Finalizing output processing
180169
*/

Modules/DataCollection/classes/EditView/class.ilDclEditViewDefinitionGUI.php

-15
Original file line numberDiff line numberDiff line change
@@ -137,21 +137,6 @@ public function deleteView(): void
137137
$ilCtrl->redirectByClass("ilDclTableViewEditGUI", "editGeneralSettings");
138138
}
139139

140-
/**
141-
* Release page lock
142-
* overwrite to redirect properly
143-
*/
144-
public function releasePageLock(): void
145-
{
146-
global $DIC;
147-
$ilCtrl = $DIC['ilCtrl'];
148-
$lng = $DIC['lng'];
149-
150-
$this->getPageObject()->releasePageLock();
151-
$this->tpl->setOnScreenMessage('success', $lng->txt("cont_page_lock_released"), true);
152-
$ilCtrl->redirectByClass('ilDclTableViewGUI', "show");
153-
}
154-
155140
/**
156141
* Finalizing output processing
157142
* @param string $a_output

0 commit comments

Comments
 (0)