浏览代码

Removed unused method

David A. Velasco 10 年之前
父节点
当前提交
28d3b5fdaa
共有 1 个文件被更改,包括 0 次插入13 次删除
  1. 0 13
      src/com/owncloud/android/authentication/AccountUtils.java

+ 0 - 13
src/com/owncloud/android/authentication/AccountUtils.java

@@ -105,19 +105,6 @@ public class AccountUtils {
     }
     
 
-    /**
-     * Checks, whether or not there are any ownCloud accounts setup.
-     * 
-     * @return true, if there is at least one account.
-     */
-    public static boolean accountsAreSetup(Context context) {
-        AccountManager accMan = AccountManager.get(context);
-        Account[] accounts = accMan
-                .getAccountsByType(MainApp.getAccountType());
-        return accounts.length > 0;
-    }
-    
-    
     public static boolean setCurrentOwnCloudAccount(Context context, String accountName) {
         boolean result = false;
         if (accountName != null) {