Changeset 1911

Show
Ignore:
Timestamp:
04/22/06 22:22:13 (10 months ago)
Author:
demian
Message:

removed mysql5 warning

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/0.6-bugfix/lib/SGL/Install/WizardTestDbConnection.php

    r1877 r1911  
    7676        if (preg_match("/mysql/", $dbh->phptype)) { 
    7777            $mysqlVersion = mysql_get_server_info(); 
    78             if (version_compare($mysqlVersion, '5', '>=')) { 
    79                 $_SESSION['mysql5_detected'] = true; 
    80             } 
    8178        } 
    8279        $aEnvData = unserialize(file_get_contents(SGL_VAR_DIR . '/env.php')); 
  • branches/0.6-bugfix/lib/SGL/Task/Install.php

    r1899 r1911  
    135135        } 
    136136 
    137         //  warn for mysql5 probs 
    138         if (isset($_SESSION['mysql5_detected'])) { 
    139             $msg = 'MySQL 5 has been detected, there is currently a serious bug '. 
    140                     'affecting DB_DataObject with version 5 and above of MySQL. To '. 
    141                     'delete this message login as admin, go to Configuration and delete '. 
    142                     'the entry for \'broadcast message\'.'; 
    143             $c->set('site', array('alert' => $msg)); 
    144         } 
    145  
    146137        //  save 
    147138        $configFile = SGL_VAR_DIR . '/' . SGL_SERVER_NAME . '.conf.php';