From 466add9bb2b42a61cde9a4d7c6949d908f96f625 Mon Sep 17 00:00:00 2001 From: Ingo Schommer Date: Mon, 28 Mar 2011 15:12:22 +1300 Subject: [PATCH] API CHANGE Removed CMSBatchAction->getDoingText(), couples behaviour with view too tightly, and was replaced by graphical loading indication in CMS UI a while ago --- code/CMSBatchActions.php | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/code/CMSBatchActions.php b/code/CMSBatchActions.php index 15549fe7..892adaf3 100644 --- a/code/CMSBatchActions.php +++ b/code/CMSBatchActions.php @@ -9,9 +9,6 @@ class CMSBatchAction_Publish extends CMSBatchAction { function getActionTitle() { return _t('CMSBatchActions.PUBLISH_PAGES', 'Publish'); } - function getDoingText() { - return _t('CMSBatchActions.PUBLISHING_PAGES', 'Publishing selected pages'); - } function run(DataObjectSet $pages) { return $this->batchaction($pages, 'doPublish', @@ -34,9 +31,6 @@ class CMSBatchAction_Unpublish extends CMSBatchAction { function getActionTitle() { return _t('CMSBatchActions.UNPUBLISH_PAGES', 'Un-publish'); } - function getDoingText() { - return _t('CMSBatchActions.UNPUBLISHING_PAGES', 'Un-publishing selected pages'); - } function run(DataObjectSet $pages) { return $this->batchaction($pages, 'doUnpublish', @@ -55,9 +49,6 @@ class CMSBatchAction_Delete extends CMSBatchAction { function getActionTitle() { return _t('CMSBatchActions.DELETE_DRAFT_PAGES', 'Delete from draft site'); } - function getDoingText() { - return _t('CMSBatchActions.DELETING_DRAFT_PAGES', 'Deleting selected pages from the draft site'); - } function run(DataObjectSet $pages) { $status = array( @@ -105,9 +96,7 @@ class CMSBatchAction_DeleteFromLive extends CMSBatchAction { function getActionTitle() { return _t('CMSBatchActions.DELETE_PAGES', 'Delete from published site'); } - function getDoingText() { - return _t('CMSBatchActions.DELETING_PAGES', 'Deleting selected pages from the published site'); - } + function run(DataObjectSet $pages) { $status = array(