src/libraries/adapters/DatabaseMySql.php
/**
    * Get the current database version
    *
    * @return string Version number
    */
Get the current database version
@return string Version number
Get the current database version @return string Version number
public function version()
  {
    try
    {
      $result = $this->db->one("SELECT * from `{$this->mySqlTablePrefix}admin` WHERE `key`=:key", array(':key' => 'version'));
      if($result)
        return $result['value'];
    }
    catch(EpiDatabaseException $e)
    {
      return '0.0.0';
    }
    return '0.0.0';
  }
public function version ( ) { try { $ result = $ this -> db -> one ( " SELECT * from ` { $ this -> mySqlTablePrefix } admin` WHERE `key`=:key " , array ( ':key' => 'version' ) ) ; if ( $ result ) return $ result [ 'value' ] ; } catch ( EpiDatabaseException $ e ) { return '0.0.0' ; } return '0.0.0' ; }
Get the current database version
 @return string Version number
Get the current database version @return string Version number