1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2025-07-31 15:24:31 +03:00

Merge branch 'v0.30.x'

This commit is contained in:
Dan Brown
2020-12-17 21:47:59 +00:00
9 changed files with 35 additions and 46 deletions

View File

@ -39,15 +39,6 @@ class Chapter extends BookChild
return url('/' . implode('/', $parts));
}
/**
* Check if this chapter has any child pages.
* @return bool
*/
public function hasChildren()
{
return count($this->pages) > 0;
}
/**
* Get the visible pages in this chapter.
*/