Commit 9ac21dca authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

setBaseUrl() is no longer required.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@25522 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent d0f4d308
...@@ -100,7 +100,6 @@ def parseArgs(): ...@@ -100,7 +100,6 @@ def parseArgs():
send_mail = 1 send_mail = 1
def main(): def main():
setBaseUrl()
setPreference() setPreference()
unsubscribeFromTimerService() unsubscribeFromTimerService()
status = getStatus() status = getStatus()
...@@ -215,11 +214,6 @@ def setPreference(): ...@@ -215,11 +214,6 @@ def setPreference():
'%s&__ac_password=%s&working_copy_list=%s' % '%s&__ac_password=%s&working_copy_list=%s' %
(host, port, portal_name, user, password, bt5_dir_list)) (host, port, portal_name, user, password, bt5_dir_list))
def setBaseUrl():
urllib2.urlopen('http://%s:%d/%s/Zuite_setBaseUrl?__ac_name='
'%s&__ac_password=%s&base_url=%s' %
(host, port, portal_name, user, password, portal_name))
def unsubscribeFromTimerService(): def unsubscribeFromTimerService():
urllib2.urlopen('http://%s:%d/%s/portal_activities/?unsubscribe:method=' urllib2.urlopen('http://%s:%d/%s/portal_activities/?unsubscribe:method='
'&__ac_name=%s&__ac_password=%s' % '&__ac_name=%s&__ac_password=%s' %
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment