| [ Index ] |
PHP Cross Reference of MyBB 1.8.40 |
[Summary view] [Print] [Text view]
1 <?php 2 /** 3 * MyBB 1.8 4 * Copyright 2014 MyBB Group, All Rights Reserved 5 * 6 * Website: http://www.mybb.com 7 * License: http://www.mybb.com/about/license 8 * 9 */ 10 11 /** 12 * Upgrade Script: 1.8.39 13 */ 14 15 $upgrade_detail = array( 16 'revert_all_templates' => 0, 17 'revert_all_themes' => 0, 18 'revert_all_settings' => 0 19 ); 20 21 my_set_time_limit(); 22 23 function upgrade61_dbchanges() 24 { 25 global $output, $mybb, $db, $cache; 26 27 $output->print_header('Updating Database'); 28 29 echo '<p>Performing necessary upgrade queries...</p>'; 30 31 flush(); 32 33 if($db->field_exists('skype', 'users')) 34 { 35 $db->drop_column('users', 'skype'); 36 } 37 38 if($db->field_exists('google', 'users')) 39 { 40 $db->drop_column('users', 'google'); 41 } 42 43 $db->delete_query('settings', "name IN ('allowskypefield', 'allowgooglefield')"); 44 45 $db->delete_query('settinggroups', "name IN ('contactdetails')"); 46 47 $output->print_contents('<p>Click next to continue with the upgrade process.</p>'); 48 49 $output->print_footer('61_done'); 50 }
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
| 2005 - 2021 © MyBB.de | Alle Rechte vorbehalten! | Sponsor: netcup | Cross-referenced by PHPXref |