From 5227d53592f13e15250102571ef81198ca4b1804 Mon Sep 17 00:00:00 2001 From: Christian Date: Mon, 3 Aug 2015 11:14:40 +0200 Subject: [PATCH] Remove arg0 from isDeviceRooted arg0 is never used in the native code, undocumented and breaks the documented usage. --- www/rootdetection.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/www/rootdetection.js b/www/rootdetection.js index af07f6b..ac86ac4 100644 --- a/www/rootdetection.js +++ b/www/rootdetection.js @@ -1,5 +1,5 @@ var exec = require('cordova/exec'); -exports.isDeviceRooted = function(arg0, success, error) { - exec(success, error, "RootDetection", "isDeviceRooted", [arg0]); +exports.isDeviceRooted = function(success, error) { + exec(success, error, "RootDetection", "isDeviceRooted", []); };