From: Stéphane Jacob Date: Fri, 7 Jan 2011 14:43:57 +0000 (+0100) Subject: Removes calls to obsolete functions. X-Git-Tag: core/1.1.2~12 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=46ca2891fefd1cb71f774a0a65173df392972d86;p=platal.git Removes calls to obsolete functions. Signed-off-by: Stéphane Jacob --- 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));