Merge branch 'MDL-61102-master' of https://github.com/sammarshallou/moodle
[moodle.git] / search / classes / output / form / search.php
index 460b178..2aba87e 100644 (file)
@@ -70,8 +70,6 @@ class search extends \moodleform {
         $mform->addElement('text', 'title', get_string('title', 'search'));
         $mform->setType('title', PARAM_TEXT);
 
-        $search = \core_search\manager::instance();
-
         $searchareas = \core_search\manager::get_search_areas_list(true);
         $areanames = array();
         foreach ($searchareas as $areaid => $searcharea) {