original_string: public function actionMassDelete()
      {
          if (($ids = Yii::$app->request->post('ids')) !== null) {
              $models = $this->findUser($ids);
              foreach ($models as $model) {
                  $model->delete($model);
              }
              return $this->redirect(['index']);
          } else {
              throw new HttpException(400);
          }
      }
code: public function actionMassDelete()
      {
          if (($ids = Yii::$app->request->post('ids')) !== null) {
              $models = $this->findUser($ids);
              foreach ($models as $model) {
                  $model->delete($model);
              }
              return $this->redirect(['index']);
          } else {
              throw new HttpException(400);
          }
      }
code_tokens: public function actionMassDelete ( ) { if ( ( $ ids = Yii :: $ app -> request -> post ( 'ids' ) ) !== null ) { $ models = $ this -> findUser ( $ ids ) ; foreach ( $ models as $ model ) { $ model -> delete ( $ model ) ; } return $ this -> redirect ( [ 'index' ] ) ; } else { throw new HttpException ( 400 ) ; } }
docstring: Delete multiple users page.
docstring_tokens: Delete multiple users page .