10 Commits

Author SHA1 Message Date
Paul Holden
836f2f044a MDL-72908 admin: correctly distinguish purging all/selected caches. 2021-11-15 12:20:11 +00:00
Paul Holden
0c6ea21bac MDL-70142 admin: preserve selected cache definitions in the form.
By not redirecting when we are already on the purge caches page we
can preserve the submitted form data, allowing users to easily
repeat the previous action.
2021-03-26 13:09:33 +00:00
Mark Johnson
e3389c83b2 MDL-61244 caching: Allow granular purging of caches 2018-06-14 15:04:42 +01:00
Tim Hunt
d00007bc45 MDL-60741 purgecaches: did not correctly setup the admin page
Note that, admin_externalpage_setup does the right capability check.
2017-11-08 14:30:27 +00:00
Tim Hunt
2d22f3d97f MDL-27655 improve purge all caches.
If you click the link in the page footer, then it will reliably
redirect you back to the page you were on after purging the caches.

If you go to the purge all caches page in the admin menu, it shows you a
purge button, with no cancel button. Clicking the button purges the
caches and takes you back to the page with the button.
2013-08-08 09:59:55 +01:00
Frederic Massart
bf006d2c15 MDL-34455 Libraries: Replaced deprecated get_context_instance() 2012-07-23 14:33:02 +08:00
Tim Hunt
67cc2a4cce admin purge caches MDL-24591 (part) make the redirect go somewhere sensible. 2010-11-08 13:42:01 +00:00
Petr Skoda
87635e7d66 MDL-23167 fixed regression with cancel url or when referers not available (firewalled) 2010-07-25 13:46:27 +00:00
Martin Dougiamas
ba6c97eeae MDL-23167 Upgraded "Purge caches" to a full admin page with a confirm button, and added a link to it in the footer for developers. 2010-07-18 07:17:01 +00:00
Petr Skoda
f87eab7e71 MDL-23167 basic "purge all caches" button 2010-07-13 15:09:44 +00:00