Skip to content

Commit

Permalink
Add block course view only
Browse files Browse the repository at this point in the history
  • Loading branch information
Resonant sol committed Mar 15, 2021
1 parent 2b67c69 commit f33e610
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion block_course_search.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,9 @@ function has_config() {
*/
function applicable_formats()
{
return array('all' => true);
return array('course-view' => true,
'course-view-social' => false
);
}

/**
Expand Down
2 changes: 1 addition & 1 deletion version.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

defined('MOODLE_INTERNAL') || die();

$plugin->version = 2021031000; // The current plugin version (Date: YYYYMMDDXX)
$plugin->version = 2021031500; // The current plugin version (Date: YYYYMMDDXX)
$plugin->requires = 2011112900; // Requires this Moodle version
$plugin->component = 'block_course_search'; // Full name of the plugin (used for diagnostics)
$plugin->maturity = MATURITY_STABLE;
Expand Down

0 comments on commit f33e610

Please sign in to comment.