Ignore:
Timestamp:
Nov 25, 2013, 9:48:38 PM (11 years ago)
Author:
chronos
Message:
  • Modified: Logged unknown pages have now separate log type to better distinguish from ordinal errors.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/UpdateTrace.php

    r585 r600  
    25152515function UpdateTo510($Manager)
    25162516{     
    2517   global $System;
    2518  
    25192517  $Manager->Execute('ALTER TABLE `News` ADD `Title` VARCHAR( 255 ) NOT NULL AFTER `Time`');
    25202518  $Manager->Execute('UPDATE `News` SET `Title` = (SELECT `Name` FROM `User` AS `T` WHERE `T`.`ID` = `User`)');
     
    25232521function UpdateTo524($Manager)
    25242522{     
    2525   global $System;
    2526  
    25272523  $Manager->Execute('ALTER TABLE `User` ADD `PreferredVersion` INT NULL DEFAULT NULL');
    25282524  $Manager->Execute('ALTER TABLE `User` ADD INDEX ( `PreferredVersion` )');
     
    26132609}
    26142610
     2611function UpdateTo600($Manager)
     2612{
     2613        $Manager->Execute("INSERT INTO `LogType` (`Id` ,`Name` ,`Color` ,`Description`)
     2614VALUES (NULL , 'Nenalezené', 'teal', 'Nenalezené stránky');");
     2615}
     2616
    26152617$Updates = array(
    26162618        498 => array('Revision' => 506, 'Function' => 'UpdateTo506'),
     
    26232625        567 => array('Revision' => 574, 'Function' => 'UpdateTo574'),
    26242626        574 => array('Revision' => 585, 'Function' => 'UpdateTo585'),
     2627        585 => array('Revision' => 600, 'Function' => 'UpdateTo600'),
    26252628);
Note: See TracChangeset for help on using the changeset viewer.