Skip to content

Commit

Permalink
Temporarily remove popular searches
Browse files Browse the repository at this point in the history
  • Loading branch information
ajparsons committed Sep 12, 2024
1 parent 3bfe185 commit 4d73539
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion classes/Homepage.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public function display() {
$data["commons_dissolved"] = isset($dissolution[1]);

$data['regional'] = $this->getRegionalList();
$data['popular_searches'] = $common->getPopularSearches();
$data['popular_searches'] = []; #$common->getPopularSearches();
$data['urls'] = $this->getURLs();
$data['calendar'] = $this->getCalendarData();
$data['featured'] = $this->getEditorialContent();
Expand Down
2 changes: 1 addition & 1 deletion classes/SectionView/SectionView.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ protected function addCommonData($data) {

$common = new \MySociety\TheyWorkForYou\Common;
$data['urls'] = $this->getURLs($data);
$data['popular_searches'] = $common->getPopularSearches();
$data['popular_searches'] = []; #$common->getPopularSearches();
$data['recess_major'] = $this->getRecessMajor();

$nextprev = $DATA->page_metadata($this_page, 'nextprev');
Expand Down

0 comments on commit 4d73539

Please sign in to comment.