diff options
Diffstat (limited to 'meetingtools/ac/__init__.py')
-rw-r--r-- | meetingtools/ac/__init__.py | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/meetingtools/ac/__init__.py b/meetingtools/ac/__init__.py deleted file mode 100644 index 1250a5f..0000000 --- a/meetingtools/ac/__init__.py +++ /dev/null @@ -1,12 +0,0 @@ -from meetingtools.ac.api import ACPClient - -def ac_api_client_cached(request,acc): - tag = 'ac_api_client_%s' % acc.name - if not request.session.has_key(tag): - request.session[tag] = ACPClient(acc.api_url,acc.user,acc.password) - - return request.session[tag] - -def ac_api_client(request,acc): - return ACPClient(acc.api_url,acc.user,acc.password) -
\ No newline at end of file |