Change getIsRead to isRead

This commit is contained in:
Benoît Burnichon
2015-12-21 15:51:56 +01:00
parent 4114b70003
commit 00d0ea66bb
8 changed files with 30 additions and 28 deletions

View File

@@ -1648,8 +1648,14 @@ class record_adapter implements RecordInterface, cache_cacheableInterface
* @return set_selection
* @throws Exception
* @throws \Doctrine\DBAL\DBALException
* @deprecated use {@link self::getChildren} instead.
*/
public function get_children()
{
return $this->getChildren();
}
public function getChildren()
{
if (!$this->isStory()) {
throw new Exception('This record is not a grouping');