HCE Project DC service web UI  0.2
Hierarchical Cluster Engine DC service web UI
 All Classes Namespaces Files Functions Variables Pages
SiteCleanupController.php
Go to the documentation of this file.
1 <?php
2 
4 {
5  public function actionIndex($siteId)
6  {
7  $this->renderPartial("__cleanupDialog", array(
8  'id' => $siteId
9  ));
10  }
11 
12  public function actionCleanup($siteId)
13  {
14  $command = new SiteCleanup;
15  $command->cleanupSiteInfo($siteId);
16  unset($command);
17  Yii::app()->request->redirect($_SERVER['HTTP_REFERER']);
18  }
19 }