Reviewed: https://reviews.mahara.org/4974 Committed: https://git.nzoss.org.nz/mahara/mahara/commit/f13dfd701f5e153bac14d07044281eb32ccbe073 Submitter: Robert Lyon (<email address hidden>) Branch: 15.04_STABLE
commit f13dfd701f5e153bac14d07044281eb32ccbe073 Author: Aaron Wells <email address hidden> Date: Wed Jul 15 15:21:19 2015 +1200
Incorrect check for the presence of collections in export (Bug 1474628)
It appears this code is meant to check for whether $views is set to self::EXPORT_ALL_VIEWS (a constant that equals -1).
But even if you're exporting all your views, you still want to group them together into collections.
Change-Id: Ic4f8c94ae3b2da1916806baddd6897dc6bb3ef2a (cherry picked from commit 7b0d6aa82a5e92bc5349d991d8af4a9a70700b76)
Reviewed: https:/ /reviews. mahara. org/4974 /git.nzoss. org.nz/ mahara/ mahara/ commit/ f13dfd701f5e153 bac14d07044281e b32ccbe073
Committed: https:/
Submitter: Robert Lyon (<email address hidden>)
Branch: 15.04_STABLE
commit f13dfd701f5e153 bac14d07044281e b32ccbe073
Author: Aaron Wells <email address hidden>
Date: Wed Jul 15 15:21:19 2015 +1200
Incorrect check for the presence of collections in export (Bug 1474628)
It appears this code is meant to check for whether $views is set to ALL_VIEWS (a constant that equals -1).
self::EXPORT_
But even if you're exporting all your views, you still want to group
them together into collections.
Change-Id: Ic4f8c94ae3b2da 1916806baddd689 7dc6bb3ef2a c5349d991d8af4a 9a70700b76)
(cherry picked from commit 7b0d6aa82a5e92b