From 46ca2891fefd1cb71f774a0a65173df392972d86 Mon Sep 17 00:00:00 2001 From: =?utf8?q?St=C3=A9phane=20Jacob?= Date: Fri, 7 Jan 2011 15:43:57 +0100 Subject: [PATCH] Removes calls to obsolete functions. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Stéphane Jacob --- include/wiki.engine.inc.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/include/wiki.engine.inc.php b/include/wiki.engine.inc.php index 12790ea..bc481cd 100644 --- a/include/wiki.engine.inc.php +++ b/include/wiki.engine.inc.php @@ -68,7 +68,6 @@ if (Env::v('action') || !$cache_exists) { require_once($globals->spoolroot . '/wiki/pmwiki.php'); $wikiAll = ob_get_clean(); - pl_clear_errors(); // the pmwiki skin we are using (almost empty) has these keywords: $i = strpos($wikiAll, ""); @@ -85,7 +84,6 @@ if ($feed) { $wikiAll = preg_replace('!.*?\..*?\.(\d{4})\|(.*?)!u', '$2 (X$1)', $wikiAll); $wikiAll = str_replace('./', '' . $globals->baseurl . '/' . $platal->ns, $wikiAll); echo $wikiAll; - pl_clear_errors(); exit; } elseif (Env::v('action')) { $page->assign('pl_extra_header', substr($wikiAll, 0, $i)); -- 2.1.4