Comment 5 for bug 1474628

Revision history for this message
Mahara Bot (dev-mahara) wrote : A change has been merged

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)