Temporal layout for rename
[pub/Android/ownCloud.git] / src / eu / alefzero / owncloud / authenticator / ConnectionCheckerRunnable.java
index 66c6c3d..62131ef 100644 (file)
@@ -94,8 +94,8 @@ public class ConnectionCheckerRunnable implements Runnable {
     }
 
     private boolean tryConnection(Uri uri) {
-        WebdavClient wc = new WebdavClient(uri);
-        wc.allowUnsignedCertificates();
+        WebdavClient wc = new WebdavClient();
+        wc.allowSelfsignedCertificates();
         GetMethod get = new GetMethod(uri.toString());
         boolean retval = false;
         try {