diff --git a/filter/activitynames/db/install.php b/filter/activitynames/db/install.php new file mode 100644 index 0000000000000..8caef868d55c5 --- /dev/null +++ b/filter/activitynames/db/install.php @@ -0,0 +1,31 @@ +. + +/** + * Filter post install hook + * + * @package filter_activitynames + * @copyright 2012 Petr Skoda {@link http://skodak.org} + * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later + */ + +function xmldb_filter_activitynames_install() { + global $CFG; + require_once("$CFG->libdir/filterlib.php"); + + filter_set_global_state('filter/activitynames', TEXTFILTER_ON); +} +