diff --git a/core/DataTable/Row.php b/core/DataTable/Row.php index b594d4c820c8cdcd499dd273e27bbc911da0ff1b..a90855a1d97f9b5a2ba107c8353fd4188e172d3c 100644 --- a/core/DataTable/Row.php +++ b/core/DataTable/Row.php @@ -345,21 +345,6 @@ class Row implements \ArrayAccess, \IteratorAggregate $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.