. /** * Email OTP authentication plugin upgrade code * * @package auth_emailotp * @copyright 2020 Pawel Suwinski * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ defined('MOODLE_INTERNAL') || die(); /** * Function to upgrade auth_emailotp. * @param int $oldversion the version we are upgrading from * @return bool result */ function xmldb_auth_emailotp_upgrade($oldversion) { global $CFG; return true; }