MDL-69117 output: Correct remove_dir usage
authorAndrew Nicols <andrew@nicols.co.uk>
Thu, 3 Sep 2020 01:01:32 +0000 (09:01 +0800)
committerAndrew Nicols <andrew@nicols.co.uk>
Thu, 3 Sep 2020 01:01:43 +0000 (09:01 +0800)
lib/outputlib.php

index a1d9abd..6b22cfc 100644 (file)
@@ -1451,7 +1451,7 @@ class theme_config {
             );
         } else {
             if (file_exists($cachedir)) {
-                remove_directory($cachedir);
+                remove_dir($cachedir);
             }
         }