Remove arg0 from isDeviceRooted

arg0 is never used in the native code, undocumented and breaks the documented usage.
This commit is contained in:
Christian
2015-08-03 11:14:40 +02:00
parent e6a9da4624
commit 5227d53592
+2 -2
View File
@@ -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", []);
};