This reverts commit 6fea9d8b1b, reversing changes made to d9f60b4c61.
6fea9d8b1b
d9f60b4c61
All use Joomla 6 BaseDatabaseModel with $this->getDatabase()