public function isSiteEmpty($siteId)
    {
        $sql = sprintf('SELECT idsite FROM %s WHERE idsite = ? limit 1', Common::prefixTable('log_visit'));

        $result = \Piwik\Db::fetchOne($sql, array($siteId));

        return $result == null;
    }
public function isSiteEmpty($siteId)
    {
        $sql = sprintf('SELECT idsite FROM %s WHERE idsite = ? limit 1', Common::prefixTable('log_visit'));

        $result = \Piwik\Db::fetchOne($sql, array($siteId));

        return $result == null;
    }
public function isSiteEmpty ( $ siteId ) { $ sql = sprintf ( 'SELECT idsite FROM %s WHERE idsite = ? limit 1' , Common :: prefixTable ( 'log_visit' ) ) ; $ result = \ Piwik \ Db :: fetchOne ( $ sql , array ( $ siteId ) ) ; return $ result == null ; }
Returns true if the site doesn't have raw data.

@param int $siteId
@return bool
Returns true if the site doesn t have raw data .