Skip to content

Commit

Permalink
create db upgrade file
Browse files Browse the repository at this point in the history
  • Loading branch information
mwgiorno committed Nov 7, 2024
1 parent 55db51e commit 6479046
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions db/upgrade.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
<?php
// This file is part of Moodle - http://moodle.org/
//
// Moodle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Moodle is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.

/**
* Upgrade code for the onlyoffice.
*
* @package mod_onlyofficedocspace
* @copyright 2024 Ascensio System SIA <[email protected]>
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/

/**
* Execute ONLYOFFICE DocSpace upgrade from the given old version
*
* @param int $oldversion
* @return bool
*/
function xmldb_onlyofficedocspace_upgrade($oldversion) {
return true;
}

0 comments on commit 6479046

Please sign in to comment.