Enable collaboration by default on activities
When we implemented read max_participants from activity.info [1]
we changed the default value of max_participants, from 0 to 1.
Before, was responsability of the activities set max_participants == 1,
when the activity not implemented collaboration.
This change make the default backwards compatible.
[1] d0cca91fe8
This commit is contained in:
parent
6e81c67622
commit
2456465d79
@ -113,7 +113,7 @@ class ActivityBundle(Bundle):
|
|||||||
self._activity_version = '0'
|
self._activity_version = '0'
|
||||||
self._summary = None
|
self._summary = None
|
||||||
self._single_instance = False
|
self._single_instance = False
|
||||||
self._max_participants = 1
|
self._max_participants = 0
|
||||||
|
|
||||||
info_file = self.get_file('activity/activity.info')
|
info_file = self.get_file('activity/activity.info')
|
||||||
if info_file is None:
|
if info_file is None:
|
||||||
|
Loading…
Reference in New Issue
Block a user