[Calendar] - Doubled privilege checking removed from JS code
authorAndrzej Popowski <a.popowski@samsung.com>
Fri, 26 Feb 2016 10:25:22 +0000 (11:25 +0100)
committerAndrzej Popowski <a.popowski@samsung.com>
Fri, 26 Feb 2016 10:25:22 +0000 (11:25 +0100)
Change-Id: I84f2ba1fe1e1884731890c97880a7d391a8f5588
Signed-off-by: Andrzej Popowski <a.popowski@samsung.com>
src/calendar/js/calendar_manager.js

index cadae4f59b96916d8ae54a1da3ec1b2d89300d87..37d1652bb2099295b30f6db0f60d50d2c2533479 100755 (executable)
@@ -98,7 +98,6 @@ CalendarManager.prototype.getDefaultCalendar = function() {
 };
 
 var CalendarManagerGetCalendar = function() {
-  xwalk.utils.checkPrivilegeAccess(xwalk.utils.privilege.CALENDAR_READ);
   var args = validator_.validateArgs(arguments, [{
     name: 'type',
     type: types_.ENUM,