Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

MDL-36359 Typo prevents 'Cancel' action in 'Add instance' to work as …

…expected
  • Loading branch information...
commit 7a65e286caeb846574c0003a6358a20165cd0076 1 parent 6109f21
Matteo Scaramuccia scara authored

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. +2 2 cache/admin.php
4 cache/admin.php
@@ -60,7 +60,7 @@
60 60 $mform = cache_administration_helper::get_add_store_form($plugin);
61 61 $title = get_string('addstore', 'cache', $plugins[$plugin]['name']);
62 62 if ($mform->is_cancelled()) {
63   - rediect($PAGE->url);
  63 + redirect($PAGE->url);
64 64 } else if ($data = $mform->get_data()) {
65 65 $config = cache_administration_helper::get_store_configuration_from_data($data);
66 66 $writer = cache_config_writer::instance();
@@ -80,7 +80,7 @@
80 80 $mform = cache_administration_helper::get_edit_store_form($plugin, $store);
81 81 $title = get_string('addstore', 'cache', $plugins[$plugin]['name']);
82 82 if ($mform->is_cancelled()) {
83   - rediect($PAGE->url);
  83 + redirect($PAGE->url);
84 84 } else if ($data = $mform->get_data()) {
85 85 $config = cache_administration_helper::get_store_configuration_from_data($data);
86 86 $writer = cache_config_writer::instance();

0 comments on commit 7a65e28

Please sign in to comment.
Something went wrong with that request. Please try again.