get_manager(); if ($oldversion < 2008072401) { $processor = new stdClass(); $processor->name = 'popup'; if (! $DB->record_exists('message_processors', array('name' => $processor->name))){ $DB->insert_record('message_processors', $processor); } /// popup savepoint reached upgrade_plugin_savepoint(true, 2008072401, 'message', 'popup'); } // Moodle v2.1.0 release upgrade line // Put any upgrade step following this // Moodle v2.2.0 release upgrade line // Put any upgrade step following this return true; }