mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 11:05:53 +02:00
MINOR fixed undefined var
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@91314 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
87dfd714b2
commit
5f548f5901
@ -126,8 +126,6 @@ class CMSBatchAction_Delete extends CMSBatchAction {
|
||||
FormResponse::add("$('Form_EditForm').reloadIfSetTo($id);");
|
||||
}
|
||||
|
||||
$page->destroy();
|
||||
unset($page);
|
||||
}
|
||||
|
||||
$message = sprintf(_t('CMSBatchActions.DELETED_DRAFT_PAGES', 'Deleted %d pages from the draft site'), $pages->Count());
|
||||
@ -173,8 +171,6 @@ class CMSBatchAction_DeleteFromLive extends CMSBatchAction {
|
||||
FormResponse::add("$('Form_EditForm').reloadIfSetTo($id);");
|
||||
}
|
||||
|
||||
$page->destroy();
|
||||
unset($page);
|
||||
}
|
||||
|
||||
$message = sprintf(_t('CMSBatchActions.DELETED_PAGES', 'Deleted %d pages from the published site'), $pages->Count());
|
||||
|
Loading…
Reference in New Issue
Block a user