we need to remove the plugin ES triggers in lib/db/upgrade.php
when we remove the core triggers,
so they are not present on the DB when the plugins get upgraded
This is the same as calling drop_elasticsearch_triggers() but without
the searchplugin check - in case someone manually changed the search
type in db
Reviewed: https:/ /reviews. mahara. org/10590 /git.mahara. org/mahara/ mahara/ commit/ de2d7fc4c357dac 062ad57281806c5 7cb0272961
Committed: https:/
Submitter: Robert Lyon (<email address hidden>)
Branch: master
commit de2d7fc4c357dac 062ad57281806c5 7cb0272961
Author: Cecilia Vela Gurovic <email address hidden>
Date: Mon Nov 11 18:12:25 2019 +1300
Bug 1850786: remove plugin ES triggers
we need to remove the plugin ES triggers in lib/db/upgrade.php
when we remove the core triggers,
so they are not present on the DB when the plugins get upgraded
This is the same as calling drop_elasticsea rch_triggers( ) but without
the searchplugin check - in case someone manually changed the search
type in db
behatnotneeded
Change-Id: I47df9cacfa69dd 6f7532f570fe17b 6a66e5d0fea