use Alpha\B;
use BookStack\Exceptions\NotFoundException;
+use Illuminate\Database\Eloquent\Collection;
use Illuminate\Support\Str;
use BookStack\Book;
use Views;
$book->delete();
}
- /**
- * Alias method to update the book jointPermissions in the PermissionService.
- * @param Book $book
- */
- public function updateBookPermissions(Book $book)
- {
- $this->permissionService->buildJointPermissionsForEntity($book);
- }
-
/**
* Get the next child element priority.
* @param Book $book