Skip to content

Commit

Permalink
Refs #4528 remove unused function
Browse files Browse the repository at this point in the history
  • Loading branch information
mattab committed Oct 13, 2014
1 parent a76b3da commit 6338666
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions core/DataTable/Row.php
Original file line number Diff line number Diff line change
Expand Up @@ -345,21 +345,6 @@ public function sumSubtable(DataTable $subTable)
$thisSubTable->addDataTable($subTable);
}

/**
* Attaches a subtable to this row.
*
* @param DataTable $subTable DataTable to associate to this row.
* @return DataTable Returns `$subTable`.
* @throws Exception if a subtable already exists for this row.
*/
public function addSubtable(DataTable $subTable)
{
if (!is_null($this->c[self::DATATABLE_ASSOCIATED])) {
throw new Exception("Adding a subtable to the row, but it already has a subtable associated.");
}
return $this->setSubtable($subTable);
}

/**
* Attaches a subtable to this row, overwriting the existing subtable,
* if any.
Expand Down

0 comments on commit 6338666

Please sign in to comment.