|
a/Allura/allura/model/project.py |
|
b/Allura/allura/model/project.py |
|
... |
|
... |
329 |
return app
|
329 |
return app
|
330 |
|
330 |
|
331 |
def uninstall_app(self, mount_point):
|
331 |
def uninstall_app(self, mount_point):
|
332 |
app = self.app_instance(mount_point)
|
332 |
app = self.app_instance(mount_point)
|
333 |
if app is None: return
|
333 |
if app is None: return
|
|
|
334 |
if self.support_page == app.config.options.mount_point:
|
|
|
335 |
self.support_page = ''
|
334 |
with h.push_config(c, project=self, app=app):
|
336 |
with h.push_config(c, project=self, app=app):
|
335 |
app.uninstall(self)
|
337 |
app.uninstall(self)
|
336 |
|
338 |
|
337 |
def app_instance(self, mount_point_or_config):
|
339 |
def app_instance(self, mount_point_or_config):
|
338 |
if isinstance(mount_point_or_config, AppConfig):
|
340 |
if isinstance(mount_point_or_config, AppConfig):
|