Skip to content

Commit

Permalink
Remove Exalead search support #354950
Browse files Browse the repository at this point in the history
  • Loading branch information
sammarshallou committed Nov 11, 2019
1 parent 54e6b77 commit c1692a4
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions search.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,16 +47,5 @@

echo $foundsomething;

// Add link to search the rest of this website if service available.
if (!empty($CFG->block_resources_search_baseurl)) {
$params = array('course' => $course->id, 'query' => $querytext);
$restofwebsiteurl = new moodle_url('/blocks/resources_search/search.php', $params);
$strrestofwebsite = get_string('restofwebsite', 'local_ousearch');
$altlink = html_writer::start_tag('div', array('class' => 'advanced-search-link'));
$altlink .= html_writer::link($restofwebsiteurl, $strrestofwebsite);
$altlink .= html_writer::end_tag('div');
print $altlink;
}

// Footer
ouwiki_print_footer($course, $cm, $subwiki, null, 'search.php?query='.urlencode($querytext), $foundsomething ? null : 'searchfailure', $querytext);

0 comments on commit c1692a4

Please sign in to comment.