mirror of
https://github.com/moodle/moodle.git
synced 2025-04-20 16:04:25 +02:00
"MDL-22659, bump version number of html block"
This commit is contained in:
parent
493a82f69e
commit
6cb9f07288
@ -34,7 +34,7 @@ function xmldb_block_html_upgrade($oldversion) {
|
||||
|
||||
$dbman = $DB->get_manager();
|
||||
|
||||
if ($oldversion < 2010071501) {
|
||||
if ($oldversion < 2010071900) {
|
||||
$params = array();
|
||||
$sql = "SELECT * FROM {block_instances} b WHERE b.blockname = :blockname";
|
||||
$params['blockname'] = 'html';
|
||||
@ -54,7 +54,7 @@ function xmldb_block_html_upgrade($oldversion) {
|
||||
$rs->close();
|
||||
|
||||
/// html block savepoint reached
|
||||
upgrade_block_savepoint(true, 2010071501, 'html');
|
||||
upgrade_block_savepoint(true, 2010071900, 'html');
|
||||
}
|
||||
|
||||
return true;
|
||||
|
@ -15,4 +15,4 @@
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
$plugin->version = 2010071501;
|
||||
$plugin->version = 2010071900;
|
||||
|
Loading…
x
Reference in New Issue
Block a user