Vergleich install/resources/upgrade10.php - 1.2.8 - 1.2.14

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 6Zeile 6
 * Website: http://www.mybboard.com
* License: http://www.mybboard.com/eula.html
*

 * Website: http://www.mybboard.com
* License: http://www.mybboard.com/eula.html
*

 * $Id: upgrade10.php 3172 2007-06-29 05:34:53Z chris $

 * $Id: upgrade10.php 3531 2007-12-02 01:21:43Z chris $

 */

/**

 */

/**

 * Upgrade Script: 1.2.6 or 1.2.7

 * Upgrade Script: 1.2.7, 1.2.8, or 1.2.9

 */



 */



Zeile 22Zeile 22

@set_time_limit(0);



@set_time_limit(0);


/* Nothing to do from 1.2.6 to 1.2.8 */















function upgrade10_dbchanges()
{
global $db, $output, $mybb;

$output->print_header("Performing Queries");

echo "<p>Performing necessary upgrade queries..</p>";

$db->query("UPDATE ".TABLE_PREFIX."templates SET version='0' WHERE version=''");
$db->query("ALTER TABLE ".TABLE_PREFIX."templates CHANGE version version int unsigned NOT NULL default '0'");

$contents .= "Click next to continue with the upgrade process.</p>";
$output->print_contents($contents);
$output->print_footer("10_done");
}


?>


?>