X-Git-Url: http://git.linex4red.de/pub/Android/ownCloud.git/blobdiff_plain/f76498047437fd53aa383dcc1fecb438f319da6d..8e36e7cc3e6218ccb80ee2af3eb0a19df24e339f:/src/com/owncloud/android/db/DbHandler.java diff --git a/src/com/owncloud/android/db/DbHandler.java b/src/com/owncloud/android/db/DbHandler.java index 3e4103a6..d9ce1d66 100644 --- a/src/com/owncloud/android/db/DbHandler.java +++ b/src/com/owncloud/android/db/DbHandler.java @@ -17,6 +17,8 @@ */ package com.owncloud.android.db; +import com.owncloud.android.Log_OC; + import android.content.ContentValues; import android.content.Context; import android.database.Cursor; @@ -56,7 +58,7 @@ public class DbHandler { cv.put("account", account); cv.put("attempt", UPLOAD_STATUS_UPLOAD_LATER); long result = mDB.insert(TABLE_INSTANT_UPLOAD, null, cv); - Log.d(TABLE_INSTANT_UPLOAD, "putFileForLater returns with: " + result + " for file: " + filepath); + Log_OC.d(TABLE_INSTANT_UPLOAD, "putFileForLater returns with: " + result + " for file: " + filepath); return result != -1; } @@ -64,7 +66,7 @@ public class DbHandler { ContentValues cv = new ContentValues(); cv.put("attempt", status); int result = mDB.update(TABLE_INSTANT_UPLOAD, cv, "path=?", new String[] { filepath }); - Log.d(TABLE_INSTANT_UPLOAD, "updateFileState returns with: " + result + " for file: " + filepath); + Log_OC.d(TABLE_INSTANT_UPLOAD, "updateFileState returns with: " + result + " for file: " + filepath); return result; } @@ -87,7 +89,7 @@ public class DbHandler { */ public boolean removeIUPendingFile(String localPath) { long result = mDB.delete(TABLE_INSTANT_UPLOAD, "path = ?", new String[] { localPath }); - Log.d(TABLE_INSTANT_UPLOAD, "delete returns with: " + result + " for file: " + localPath); + Log_OC.d(TABLE_INSTANT_UPLOAD, "delete returns with: " + result + " for file: " + localPath); return result != 0; }