mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-07-05 08:34:30 +00:00
Removed the browser limitation for Opera. We don't do any version check numbers - use at your own risk\!
Monotone-Parent: 8cb90e9b9131045b60db27358a0651385c689a42 Monotone-Revision: 1a442265f5943bf4d60fcf33caf909bbff76bd38 Monotone-Author: ludovic@Sophos.ca Monotone-Date: 2010-09-03T19:20:02 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -546,7 +546,7 @@
|
||||
cc = [[context request] clientCapabilities];
|
||||
|
||||
//NSLog(@"Browser = %@", [cc description]);
|
||||
// NSLog(@"User agent = %@", [cc userAgent]);
|
||||
//NSLog(@"User agent = %@", [cc userAgent]);
|
||||
//NSLog(@"Browser major version = %i", [cc majorVersion]);
|
||||
|
||||
return (([[cc userAgentType] isEqualToString: @"IE"]
|
||||
@@ -557,6 +557,7 @@
|
||||
&& [cc majorVersion] >= 3)
|
||||
|| ([[cc userAgentType] isEqualToString: @"Konqueror"]
|
||||
&& [cc majorVersion] >= 4)
|
||||
|| [[cc userAgentType] isEqualToString: @"Opera"]
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user