Commit 00109885 by mark burdett

fix cache clear now that cha-ching site is on HTTPS (thanks to lets encrypt :)

parent af7a8268
Showing with 1 additions and 1 deletions
......@@ -287,6 +287,6 @@ function chaching_rss($var = NULL) {
function chaching_lm_paypal_ipn($ipn) {
global $base_url;
if (isset($ipn->payment_status) && $ipn->payment_status === 'Completed') {
cache_clear_all(str_replace('s:', ':', $base_url) . '/v1', 'cache_page', TRUE);
cache_clear_all("$base_url/v1", 'cache_page', TRUE);
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment