cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mmo...@apache.org
Subject ios commit: [ios] change websql storage path to LocalStorage directory
Date Mon, 29 Oct 2012 20:01:37 GMT
Updated Branches:
  refs/heads/master 1a494d15e -> 2792e7a41


[ios] change websql storage path to LocalStorage directory


Project: http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/commit/2792e7a4
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/tree/2792e7a4
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/diff/2792e7a4

Branch: refs/heads/master
Commit: 2792e7a41d9d77aaf29fd6834b9eb42d2ccac9dc
Parents: 1a494d1
Author: Michal Mocny <mmocny@gmail.com>
Authored: Mon Oct 29 14:21:55 2012 -0400
Committer: Michal Mocny <mmocny@gmail.com>
Committed: Mon Oct 29 14:21:55 2012 -0400

----------------------------------------------------------------------
 CordovaLib/Classes/CDVLocalStorage.m |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/blob/2792e7a4/CordovaLib/Classes/CDVLocalStorage.m
----------------------------------------------------------------------
diff --git a/CordovaLib/Classes/CDVLocalStorage.m b/CordovaLib/Classes/CDVLocalStorage.m
index 4e9a491..531ad4d 100644
--- a/CordovaLib/Classes/CDVLocalStorage.m
+++ b/CordovaLib/Classes/CDVLocalStorage.m
@@ -84,8 +84,8 @@
 
     // ////////// WEBSQL MAIN DB
 
-    original = [targetDir stringByAppendingPathComponent:targetDirNests ? @"WebKit/Databases/Databases.db":@"Databases.db"];
-    backup = [backupDir stringByAppendingPathComponent:(backupDirNests ? @"WebKit/Databases":@"")];
+    original = [targetDir stringByAppendingPathComponent:targetDirNests ? @"WebKit/LocalStorage/Databases.db":@"Databases.db"];
+    backup = [backupDir stringByAppendingPathComponent:(backupDirNests ? @"WebKit/LocalStorage":@"")];
     backup = [backup stringByAppendingPathComponent:(rename ? @"websqlmain.appdata.db":@"Databases.db")];
 
     backupItem = [[CDVBackupInfo alloc] init];
@@ -97,8 +97,8 @@
 
     // ////////// WEBSQL DATABASES
 
-    original = [targetDir stringByAppendingPathComponent:targetDirNests ? @"WebKit/Databases/file__0":@"file__0"];
-    backup = [backupDir stringByAppendingPathComponent:(backupDirNests ? @"WebKit/Databases":@"")];
+    original = [targetDir stringByAppendingPathComponent:targetDirNests ? @"WebKit/LocalStorage/file__0":@"file__0"];
+    backup = [backupDir stringByAppendingPathComponent:(backupDirNests ? @"WebKit/LocalStorage":@"")];
     backup = [backup stringByAppendingPathComponent:(rename ? @"websqldbs.appdata.db":@"file__0")];
 
     backupItem = [[CDVBackupInfo alloc] init];


Mime
View raw message