cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ste...@apache.org
Subject ios commit: updated view controller
Date Tue, 11 Jun 2013 01:23:44 GMT
Updated Branches:
  refs/heads/3.0.0 4c1a0e4d3 -> 7057af984


updated view controller


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

Branch: refs/heads/3.0.0
Commit: 7057af984f4959c63253813c6435c6e643d929ca
Parents: 4c1a0e4
Author: Steven Gill <stevengill97@gmail.com>
Authored: Mon Jun 10 18:23:37 2013 -0700
Committer: Steven Gill <stevengill97@gmail.com>
Committed: Mon Jun 10 18:23:37 2013 -0700

----------------------------------------------------------------------
 CordovaLib/Classes/CDVViewController.m | 5 -----
 1 file changed, 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-ios/blob/7057af98/CordovaLib/Classes/CDVViewController.m
----------------------------------------------------------------------
diff --git a/CordovaLib/Classes/CDVViewController.m b/CordovaLib/Classes/CDVViewController.m
index 94f4552..b186326 100644
--- a/CordovaLib/Classes/CDVViewController.m
+++ b/CordovaLib/Classes/CDVViewController.m
@@ -262,7 +262,6 @@
 
     // /////////////////
 
-    NSNumber* enableLocation = [self.settings objectForKey:@"EnableLocation"];
     NSString* enableViewportScale = [self.settings objectForKey:@"EnableViewportScale"];
     NSNumber* allowInlineMediaPlayback = [self.settings objectForKey:@"AllowInlineMediaPlayback"];
     BOOL mediaPlaybackRequiresUserAction = YES;  // default value
@@ -280,10 +279,6 @@
      * Fire up the GPS Service right away as it takes a moment for data to come back.
      */
 
-    if ([enableLocation boolValue]) {
-        NSLog(@"Deprecated: The 'EnableLocation' boolean property is deprecated in 2.5.0,
and will be removed in 3.0.0. Use the 'onload' boolean attribute (of the CDVLocation plugin.");
-        [[self.commandDelegate getCommandInstance:@"Geolocation"] getLocation:[CDVInvokedUrlCommand
new]];
-    }
 
     if (hideKeyboardFormAccessoryBar) {
         __weak CDVViewController* weakSelf = self;


Mime
View raw message