public function checkClientVersion()
    {
        $serverVersion = $this->getServerVersion();
        $clientVersion = $this->getClientVersion();

        if (version_compare($serverVersion, '10') >= 0
            && version_compare($clientVersion, '10') < 0
        ) {
            throw new Exception(Piwik::translate('General_ExceptionIncompatibleClientServerVersions', array('MSSQL', $clientVersion, $serverVersion)));
        }
    }
public function checkClientVersion()
    {
        $serverVersion = $this->getServerVersion();
        $clientVersion = $this->getClientVersion();

        if (version_compare($serverVersion, '10') >= 0
            && version_compare($clientVersion, '10') < 0
        ) {
            throw new Exception(Piwik::translate('General_ExceptionIncompatibleClientServerVersions', array('MSSQL', $clientVersion, $serverVersion)));
        }
    }
public function checkClientVersion ( ) { $ serverVersion = $ this -> getServerVersion ( ) ; $ clientVersion = $ this -> getClientVersion ( ) ; if ( version_compare ( $ serverVersion , '10' ) >= 0 && version_compare ( $ clientVersion , '10' ) < 0 ) { throw new Exception ( Piwik :: translate ( 'General_ExceptionIncompatibleClientServerVersions' , array ( 'MSSQL' , $ clientVersion , $ serverVersion ) ) ) ; } }
Check client version compatibility against database server

@throws Exception
Check client version compatibility against database server