diff --git a/src/main/java/com/owncloud/android/utils/ErrorMessageAdapter.java b/src/main/java/com/owncloud/android/utils/ErrorMessageAdapter.java index f15253d4af..da66507777 100644 --- a/src/main/java/com/owncloud/android/utils/ErrorMessageAdapter.java +++ b/src/main/java/com/owncloud/android/utils/ErrorMessageAdapter.java @@ -313,9 +313,6 @@ public class ErrorMessageAdapter { return code == ResultCode.WRONG_CONNECTION || code == ResultCode.TIMEOUT || code == ResultCode.HOST_NOT_AVAILABLE || - code == ResultCode.MAINTENANCE_MODE) { - return true; - } else - return false; + code == ResultCode.MAINTENANCE_MODE; } }