original_string: protected function dropTable()
      {
          try {
              if ($this->db->schema->getTableSchema($this->table, true) !== null) {
                  $this->db->createCommand()->dropTable($this->table)->execute();
                  return $this->returnWarning(Yii::t('podium/flash', 'Table {name} has been dropped', ['name' => $this->rawTable]));
              }
              return true;
          } catch (Exception $e) {
              return $this->returnError($e->getMessage(), __METHOD__,
                  Yii::t('podium/flash', 'Error during table {name} dropping', [
                      'name' => $this->rawTable
                  ])
              );
          }
      }
code: protected function dropTable()
      {
          try {
              if ($this->db->schema->getTableSchema($this->table, true) !== null) {
                  $this->db->createCommand()->dropTable($this->table)->execute();
                  return $this->returnWarning(Yii::t('podium/flash', 'Table {name} has been dropped', ['name' => $this->rawTable]));
              }
              return true;
          } catch (Exception $e) {
              return $this->returnError($e->getMessage(), __METHOD__,
                  Yii::t('podium/flash', 'Error during table {name} dropping', [
                      'name' => $this->rawTable
                  ])
              );
          }
      }
code_tokens: protected function dropTable ( ) { try { if ( $ this -> db -> schema -> getTableSchema ( $ this -> table , true ) !== null ) { $ this -> db -> createCommand ( ) -> dropTable ( $ this -> table ) -> execute ( ) ; return $ this -> returnWarning ( Yii :: t ( 'podium/flash' , 'Table {name} has been dropped' , [ 'name' => $ this -> rawTable ] ) ) ; } return true ; } catch ( Exception $ e ) { return $ this -> returnError ( $ e -> getMessage ( ) , __METHOD__ , Yii :: t ( 'podium/flash' , 'Error during table {name} dropping' , [ 'name' => $ this -> rawTable ] ) ) ; } }
docstring: Drops current database table if it exists.
  @return string|bool result message or true if no table to drop.
docstring_tokens: Drops current database table if it exists .