Code Monkey home page Code Monkey logo

Comments (3)

patrickpollet avatar patrickpollet commented on July 18, 2024

Hi Patrick

This is due to the fact that method block_recent_activity->get_recent_enrolments() in 2.5 still calls the deprecated function get_recent_enrolments() (in lib/deprecatedlib.php) whereas starting at 2.6 it use its own code ; see https://tracker.moodle.org/browse/MDL-40649

You may 'easily' fix it in 2.5 by commenting out the two calls to add_to_log() in scripts local/mass_enroll/mass_enroll.php (line 90) and local/mass_enroll/mass_unenroll.php (line 92)

Since add_to_log() has been also deprecated in 2.7, I shall have to provide a better fix, if time permit ( * et comme tu le sais, mon cher Patrick, j'ai comme notre ami Joseph, une forte attirance vers mon jardin ces derniers mois ;-) * )

Cheers.

from moodle_local_mass_enroll.

patrickpollet avatar patrickpollet commented on July 18, 2024

Fixed for Moodle < 2.7 see b54118b

from moodle_local_mass_enroll.

PatLemaire avatar PatLemaire commented on July 18, 2024

Thank you ! Everything is working perfectly now.
(* profite bien de ton jardin, c'est largement mérité *)

from moodle_local_mass_enroll.

Related Issues (3)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.