aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorJames Lal <james@lightsofapollo.com>2012-07-08 12:46:32 -0700
committerJames Lal <james@lightsofapollo.com>2012-07-08 12:46:32 -0700
commit29d9365f7f0c63630d798031bb9f40e01edd0fc7 (patch)
tree7f95b41454bc33a43c1e1cd89233f71ad409c4e7 /scripts
parent055988cbf2d8609963369494304b6b2a70e16f6a (diff)
downloadjsCalDAV-29d9365f7f0c63630d798031bb9f40e01edd0fc7.tar.gz
removed unused stuff in connect
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/connect24
1 files changed, 0 insertions, 24 deletions
diff --git a/scripts/connect b/scripts/connect
index bab6271..3c0f08a 100755
--- a/scripts/connect
+++ b/scripts/connect
@@ -60,30 +60,6 @@ function getCalendarDetails(caluri) {
}
-function findProp(uri) {
- return new Propfind(con, {
- url: uri || config.uri
- });
-}
-
-function getProp(propName, obj, single) {
- var key, url, level, results = {};
-
- for (url in obj) {
- level = obj[url];
- for (key in level) {
- if (key === propName && level[key].status) {
- results[url] = level[key].value;
- if (single) {
- return results[url];
- }
- }
- }
- }
-
- return results;
-}
-
var home = new CalendarHome(con, {
url: config.uri
});