+ /** Remove the cache for the current page.
+ */
+ public function removePageCache()
+ {
+ @unlink($this->cacheFilename());
+ global $globals;
+ $page = glob($globals->spoolroot . '/spool/templates_c/*cache_' . $this->name . '.tpl.php');
+ if (count($page) > 0) {
+ @unlink($page[0]);
+ }
+ }
+