Skip to content

Commit

Permalink
Merge pull request #65 from ArchBlood/patch-1
Browse files Browse the repository at this point in the history
Fix: Unable to delete space external calendars
  • Loading branch information
luke- committed Jan 9, 2024
2 parents a8ef4f2 + 850d23d commit de6ab0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controllers/CalendarController.php
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ public function actionEdit($id = null)
*/
public function actionDelete($id)
{
$this->findModel($id)->delete();
$this->findModel($id)->hardDelete();
$this->view->success(Yii::t('ExternalCalendarModule.results', 'Calendar successfully deleted!'));
return $this->redirect($this->contentContainer->createUrl('index'));
}
Expand Down

0 comments on commit de6ab0c

Please sign in to comment.