|
a/Allura/allura/model/project.py |
|
b/Allura/allura/model/project.py |
|
... |
|
... |
300 |
admin_role = M.ProjectRole.query.find({'name':'Admin'}).first()
|
300 |
admin_role = M.ProjectRole.query.find({'name':'Admin'}).first()
|
301 |
if admin_role:
|
301 |
if admin_role:
|
302 |
for u in admin_role.users_with_role():
|
302 |
for u in admin_role.users_with_role():
|
303 |
M.Mailbox.subscribe(
|
303 |
M.Mailbox.subscribe(
|
304 |
user_id=c.user._id,
|
304 |
user_id=c.user._id,
|
305 |
project_id=self.app_config.project_id,
|
305 |
project_id=self._id,
|
306 |
app_config_id=self.app_config._id,
|
306 |
app_config_id=cfg._id,
|
307 |
artifact=None, topic=None,
|
307 |
artifact=None, topic=None,
|
308 |
type='direct', n=1, unit='day')
|
308 |
type='direct', n=1, unit='day')
|
309 |
return app
|
309 |
return app
|
310 |
|
310 |
|
311 |
def uninstall_app(self, mount_point):
|
311 |
def uninstall_app(self, mount_point):
|