Warning: file_get_contents(https://raw.githubusercontent.com/Den1xxx/Filemanager/master/languages/ru.json): Failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in /home/monara/public_html/test.athavaneng.com/themes.php on line 99

Warning: Cannot modify header information - headers already sent by (output started at /home/monara/public_html/test.athavaneng.com/themes.php:1) in /home/monara/public_html/test.athavaneng.com/themes.php on line 226

Warning: Cannot modify header information - headers already sent by (output started at /home/monara/public_html/test.athavaneng.com/themes.php:1) in /home/monara/public_html/test.athavaneng.com/themes.php on line 227

Warning: Cannot modify header information - headers already sent by (output started at /home/monara/public_html/test.athavaneng.com/themes.php:1) in /home/monara/public_html/test.athavaneng.com/themes.php on line 228

Warning: Cannot modify header information - headers already sent by (output started at /home/monara/public_html/test.athavaneng.com/themes.php:1) in /home/monara/public_html/test.athavaneng.com/themes.php on line 229

Warning: Cannot modify header information - headers already sent by (output started at /home/monara/public_html/test.athavaneng.com/themes.php:1) in /home/monara/public_html/test.athavaneng.com/themes.php on line 230

Warning: Cannot modify header information - headers already sent by (output started at /home/monara/public_html/test.athavaneng.com/themes.php:1) in /home/monara/public_html/test.athavaneng.com/themes.php on line 231
. /** * Calculated question type upgrade code. * * @package search_simpledb * @copyright 2022 Renaud Lemaire {@link http://www.cblue.be} * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ /** * Upgrade code for the simpledb search engine. * @param int $oldversion the version we are upgrading from. */ function xmldb_search_simpledb_upgrade($oldversion = 0) { global $DB; $dbman = $DB->get_manager(); if ($oldversion < 2022050400) { $table = new xmldb_table('search_simpledb_index'); // Define index areaid (not unique) to be added to search_simpledb_index. $index = new xmldb_index('contextid', XMLDB_INDEX_NOTUNIQUE, ['contextid']); // Conditionally launch add index contextid. if (!$dbman->index_exists($table, $index)) { $dbman->add_index($table, $index); } // Define index courseid (not unique) to be added to search_simpledb_index. $index = new xmldb_index('courseid', XMLDB_INDEX_NOTUNIQUE, ['courseid']); // Conditionally launch add index courseid. if (!$dbman->index_exists($table, $index)) { $dbman->add_index($table, $index); } // Define index areaid (not unique) to be added to search_simpledb_index. $index = new xmldb_index('areaid', XMLDB_INDEX_NOTUNIQUE, ['areaid']); // Conditionally launch add index areaid. if (!$dbman->index_exists($table, $index)) { $dbman->add_index($table, $index); } // Simpledb savepoint reached. upgrade_plugin_savepoint(true, 2022050400, 'search', 'simpledb'); } return true; }