original_string: private function removeSubtableMetadata($dataTable)
      {
          if ($dataTable instanceof DataTable\Map) {
              foreach ($dataTable->getDataTables() as $childTable) {
                  $this->removeSubtableMetadata($childTable);
              }
          } else {
              foreach ($dataTable->getRows() as $row) {
                  $row->deleteMetadata('idsubdatatable_in_db');
              }
          }
      }
code: private function removeSubtableMetadata($dataTable)
      {
          if ($dataTable instanceof DataTable\Map) {
              foreach ($dataTable->getDataTables() as $childTable) {
                  $this->removeSubtableMetadata($childTable);
              }
          } else {
              foreach ($dataTable->getRows() as $row) {
                  $row->deleteMetadata('idsubdatatable_in_db');
              }
          }
      }
code_tokens: private function removeSubtableMetadata ( $ dataTable ) { if ( $ dataTable instanceof DataTable \ Map ) { foreach ( $ dataTable -> getDataTables ( ) as $ childTable ) { $ this -> removeSubtableMetadata ( $ childTable ) ; } } else { foreach ( $ dataTable -> getRows ( ) as $ row ) { $ row -> deleteMetadata ( 'idsubdatatable_in_db' ) ; } } }
docstring: Removes idsubdatatable_in_db metadata from a DataTable. Used by Social tables since
  they use fake subtable IDs.
  
  @param DataTable $dataTable
docstring_tokens: Removes idsubdatatable_in_db metadata from a DataTable . Used by Social tables since they use fake subtable IDs .