OC-2489: Add new check to isSharedSupported

This commit is contained in:
masensio 2014-01-21 13:09:30 +01:00
parent e9e26a464e
commit c719e4a654

View file

@ -79,7 +79,7 @@ public class OwnCloudServerCheckOperation extends RemoteOperation {
}
public boolean isSharedSupported() {
OwnCloudVersion shareServer = new OwnCloudVersion(OCVERSION_SHARED_SUPPORTED);
if (isOnline()) {
if (mOCVersionString != null) {
return mOCVersionString.compareTo(shareServer) >= 0;
} else {
return false;