X-Git-Url: http://git.linex4red.de/pub/Android/ownCloud.git/blobdiff_plain/435b31ba4f3597cc7a43270cd4a54fb0180956c1..2b00ff1c7eb24dffcd70ced6c33db8ecf90e3f57:/src/eu/alefzero/owncloud/AccountUtils.java diff --git a/src/eu/alefzero/owncloud/AccountUtils.java b/src/eu/alefzero/owncloud/AccountUtils.java index de87660c..090dec38 100644 --- a/src/eu/alefzero/owncloud/AccountUtils.java +++ b/src/eu/alefzero/owncloud/AccountUtils.java @@ -30,7 +30,7 @@ import android.preference.PreferenceManager; public class AccountUtils { public static final String WEBDAV_PATH_1_2 = "/webdav/owncloud.php"; public static final String WEBDAV_PATH_2_0 = "/files/webdav.php"; - public static final String WEBDAV_PATH_4_0 = "/remote/webdav.php"; + public static final String WEBDAV_PATH_4_0 = "/remote.php/webdav"; public static final String CARDDAV_PATH_2_0 = "/apps/contacts/carddav.php"; public static final String CARDDAV_PATH_4_0 = "/remote/carddav.php"; public static final String STATUS_PATH = "/status.php"; @@ -39,8 +39,7 @@ public class AccountUtils { * Can be used to get the currently selected ownCloud account in the * preferences * - * @param context - * The current appContext + * @param context The current appContext * @return The current account or first available, if none is available, * then null. */ @@ -78,8 +77,7 @@ public class AccountUtils { /** * - * @param version - * version of owncloud + * @param version version of owncloud * @return webdav path for given OC version, null if OC version unknown */ public static String getWebdavPath(OwnCloudVersion version) {