MDL-36738 calendar: Display events imported details
We should display a the status of events when a new subscription is added. Although this means we need to redirect through an itermediate page.
This commit is contained in:
committed by
Dan Poltawski
parent
5b6e74c85f
commit
6c806e8384
@@ -78,7 +78,7 @@ if (!empty($formdata)) {
|
||||
$importresults = calendar_update_subscription_events($subscriptionid);
|
||||
}
|
||||
// Redirect to prevent refresh issues.
|
||||
redirect($PAGE->url);
|
||||
redirect($PAGE->url, $importresults);
|
||||
} else if (!empty($subscriptionid)) {
|
||||
// The user is wanting to perform an action upon an existing subscription.
|
||||
require_sesskey(); // Must have sesskey for all actions.
|
||||
|
||||
Reference in New Issue
Block a user