Skip to content

Commit

Permalink
Issue 12 and 13
Browse files Browse the repository at this point in the history
Fixed by removing line 26 from backup file.
  • Loading branch information
drachels committed May 4, 2021
1 parent 1d0422f commit 08f5104
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 8 deletions.
2 changes: 0 additions & 2 deletions backup/moodle2/backup_diary_activity_task.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/

namespace Moodle\Diary;

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

require_once($CFG->dirroot.'/mod/diary/backup/moodle2/backup_diary_stepslib.php');
Expand Down
7 changes: 4 additions & 3 deletions notes.txt
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,8 @@ Diary Support Tracker.
20201230 Bumped version to 3.1.2.
20210425 Added new code to start a new entry when editdates is enabled.
20210425 Bumped version to 3.2.0.
20210426 Ran codechecker and got a bunch of print_error deprecated notices.
Changed them all to something similar to this:
throw new moodle_exception(get_string('incorrectmodule', 'diary'));
20210426 Ran codechecker and got a bunch of print_error deprecated notices. Changed
them all to something similar to this: throw new moodle_exception(get_string('incorrectmodule', 'diary'));
20210426 Bumped version to 3.2.1 and published changes.
20210504 Got emails regarding issues #12 and #13.Deleted line 26 in file,
backup_diary_activity_task.class.php: namespace Moodle\Diary;
6 changes: 5 additions & 1 deletion upgrade.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
This files describes API changes in the diary code.
=== 3.2.2 ===
Diary_710 - Backup is broken, see issue #12 and #13 on github. Deleted
line 26 in file, backup_diary_activity_task.class.php: namespace Moodle\Diary;

=== 3.2.1 ===
Diary_703 - print_error deprecated - in multiple files. Fixed in
Diary_703 - print_error deprecated - in multiple files. Fixed in
Multiple places.

=== 3.2.0 ===
Expand Down
4 changes: 2 additions & 2 deletions version.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@
*/
defined('MOODLE_INTERNAL') || die();

$plugin->version = 2021042600; // The current module version (Date: YYYYMMDDXX).
$plugin->version = 2021050400; // The current module version (Date: YYYYMMDDXX).
$plugin->requires = 2015111600; // Requires Moodle 3.0 version.
$plugin->cron = 60; // Period for cron to check this module (secs).
$plugin->component = 'mod_diary';
$plugin->maturity = MATURITY_STABLE;
$plugin->release = '3.2.1 (Build: 2021042600)'; // User-friendly version number.
$plugin->release = '3.2.2 (Build: 2021050400)'; // User-friendly version number.

0 comments on commit 08f5104

Please sign in to comment.