Skip to content

Commit

Permalink
V2.9.1.5
Browse files Browse the repository at this point in the history
  • Loading branch information
gjb2048 committed Sep 9, 2015
1 parent 76d1994 commit f5bab03
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
4 changes: 4 additions & 0 deletions Readme.md
Expand Up @@ -251,6 +251,10 @@ Known Issues

History
=============
Version 2.9.1.5.
1. Do not halt on missing icon error (see: https://moodle.org/mod/forum/discuss.php?d=316768) but just
continue and allow errors to be stored in the php.log file.

Version 2.9.1.4.
1. Improved RTL support thanks to Nadav Kavalerchik.
2. Delete format_grid_icon record when a section is deleted.
Expand Down
1 change: 0 additions & 1 deletion lib.php
Expand Up @@ -1459,7 +1459,6 @@ public function setup_displayed_image($sectionimage, $contextid, $settings) {
} else {
error_log(get_string('cannotfinduploadedimage', 'format_grid').' ConxID: '.$contextid.' CID: '.$this->courseid.' SID: '.$sectionimage->sectionid.' DIX: '.$sectionimage->displayedimageindex.' IMG: '.$sectionimage->newimage.' - Please send this information along with a dump of the \'grid_icon\', \'course_section\' and \'files\' DB tables to the developer. Also look in the moodledata \'filedir\' folder for the \'file\' with the \'contenthash\' from the \'files\' table where the \'itemid\' is the same as the \'SID\' and \'component\' is \'course\' and \'filearea\' is \'section\' and see if it exists.');
$DB->set_field('format_grid_icon', 'image', null, array('sectionid' => $sectionimage->sectionid));
print_error('cannotfinduploadedimage', 'format_grid', $CFG->wwwroot . "/course/view.php?id=" . $this->courseid);
}

return $sectionimage; // So that the caller can know the new value of displayedimageindex.
Expand Down
4 changes: 2 additions & 2 deletions version.php
Expand Up @@ -29,7 +29,7 @@
defined('MOODLE_INTERNAL') || die();

// Plugin version.
$plugin->version = 2015062204;
$plugin->version = 2015062205;

// Required Moodle version.
$plugin->requires = 2015051100.00; // 2.9 (Build: 20150511).
Expand All @@ -41,4 +41,4 @@
$plugin->maturity = MATURITY_STABLE;

// User-friendly version number.
$plugin->release = '2.9.1.4';
$plugin->release = '2.9.1.5';

0 comments on commit f5bab03

Please sign in to comment.