Skip to content

Commit

Permalink
MDL-33768 enable multimedia filter by default in new installs
Browse files Browse the repository at this point in the history
  • Loading branch information
skodak committed Jun 15, 2012
1 parent f8dfdb5 commit 8cd436a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions filter/mediaplugin/db/install.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@

function xmldb_filter_mediaplugin_install() {
global $CFG;
require_once("$CFG->libdir/filterlib.php");

filter_set_global_state('filter/mediaplugin', TEXTFILTER_ON);
}

0 comments on commit 8cd436a

Please sign in to comment.