You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by sh...@apache.org on 2013/03/14 21:27:45 UTC

ios commit: [CB-2195] Remove deprecated - iOS - BackupWebStorage Cordova.plist property change from boolean to string

Updated Branches:
  refs/heads/master 32f1260eb -> b694e3c7b


[CB-2195] Remove deprecated - iOS - BackupWebStorage Cordova.plist property change from boolean to string


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

Branch: refs/heads/master
Commit: b694e3c7b3b2720ecf8a97f8a688c70ea377f246
Parents: 32f1260
Author: Shazron Abdullah <sh...@apache.org>
Authored: Thu Mar 14 13:27:33 2013 -0700
Committer: Shazron Abdullah <sh...@apache.org>
Committed: Thu Mar 14 13:27:33 2013 -0700

----------------------------------------------------------------------
 CordovaLib/Classes/CDVViewController.m |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-ios/blob/b694e3c7/CordovaLib/Classes/CDVViewController.m
----------------------------------------------------------------------
diff --git a/CordovaLib/Classes/CDVViewController.m b/CordovaLib/Classes/CDVViewController.m
index e81f44e..19c1e1c 100644
--- a/CordovaLib/Classes/CDVViewController.m
+++ b/CordovaLib/Classes/CDVViewController.m
@@ -249,9 +249,6 @@
     id backupWebStorage = self.settings[@"BackupWebStorage"];
     if ([backupWebStorage isKindOfClass:[NSString class]]) {
         backupWebStorageType = backupWebStorage;
-    } else if ([backupWebStorage isKindOfClass:[NSNumber class]]) {
-        NSLog(@"Deprecated: BackupWebStorage boolean property is a string property now (none, local, cloud). A boolean value of 'true' will be mapped to 'cloud'. Consult the docs: http://docs.cordova.io/en/edge/guide_project-settings_ios_index.md.html#Project%%20Settings%%20for%%20iOS");
-        backupWebStorageType = [(NSNumber*) backupWebStorage boolValue] ? @"cloud" : @"none";
     }
     self.settings[@"BackupWebStorage"] = backupWebStorageType;