]> BookStack Code Mirror - bookstack/blobdiff - app/Entities/Models/Chapter.php
Add base64 image support
[bookstack] / app / Entities / Models / Chapter.php
index d736e2108d405194d7f0c93f92056a0a2abf2172..257b19e37e45afe981ffeb7cf6ccfcd82cdefec3 100644 (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.
      */