Update_485
        
        extends DatabaseUpdateBase
    
    
            
            in package
            
        
    
    
    
Add missing noTablesOnMobile.css to vanilla configs again. It was done on 428, but the bug on LsDefaultDataSets remained causing problems on new installations.
Table of Contents
Properties
- $db : CDbConnection
- $newVersion : int
- $options : string
Methods
- __construct() : mixed
- getVersion() : int
- Get db version number based on class name, e.g. 123 for Update_123
- safeUp() : void
- Runs up() wrapped in a transaction.
- up() : mixed
- This is the function that must be implemented by the child classes.
- updateVersion() : mixed
- Sets DBVersion in settings global to $this->newVersion Last thing that happens before transaction commit in every update.
Properties
$db
    protected
        CDbConnection
    $db
    
    
    
    
$newVersion
    protected
        int
    $newVersion
    
    
    
    
$options
    protected
        string
    $options
    
    
    
    
Methods
__construct()
    public
                    __construct(CDbConnection $connection, string $options) : mixed
    Parameters
- $connection : CDbConnection
- $options : string
- 
                    Specific database options like ENGINE=INNODB etc 
getVersion()
Get db version number based on class name, e.g. 123 for Update_123
    public
                    getVersion() : int
    Return values
intsafeUp()
Runs up() wrapped in a transaction.
    public
                    safeUp() : void
    Will rollback transaction and re-throw exception at failure.
Tags
up()
This is the function that must be implemented by the child classes.
    public
                    up() : mixed
    Tags
updateVersion()
Sets DBVersion in settings global to $this->newVersion Last thing that happens before transaction commit in every update.
    private
                    updateVersion() : mixed