Permalink
Browse files

Turns get_homeFromDatabase methods to public to keep compatibility wi…

…th existing sites in Content Page manager module.
  • Loading branch information...
JB Lebrun
JB Lebrun committed Mar 28, 2018
1 parent 30ff401 commit fff8dc10b8bc90cb4e6f7ddad0fcd7a65931159b
Showing with 2 additions and 2 deletions.
  1. +2 −2 plugin/module/Admin_ContentPage/lib/ContentPage.php.inc
@@ -374,9 +374,9 @@ final class ContentPage {
/*
* get homepage object data from database
* @return boolean success
* @access private
* @access public
*/
private function get_homeFromDatabase() {
public function get_homeFromDatabase() {
return $this->get_objectFromDatabase(' and admin_contentpage.homepage=1');
}

0 comments on commit fff8dc1

Please sign in to comment.