summaryrefslogtreecommitdiff
path: root/inc/template.php
diff options
context:
space:
mode:
authorAnika Henke <anika@selfthinker.org>2012-10-26 18:41:49 +0100
committerAnika Henke <anika@selfthinker.org>2012-10-26 18:41:49 +0100
commitc3d972e6c0d77cdfb973893a36bb4bd949840e72 (patch)
treecf9a7837b622fd264cac4646027037040cc87624 /inc/template.php
parentac628d80ed1fc2003b4f4ef6e6897d9c9235ae83 (diff)
downloadrpg-c3d972e6c0d77cdfb973893a36bb4bd949840e72.tar.gz
rpg-c3d972e6c0d77cdfb973893a36bb4bd949840e72.tar.bz2
removed redundant variables in tpl_include_page() (because of 3ff8773b)
Diffstat (limited to 'inc/template.php')
-rw-r--r--inc/template.php2
1 files changed, 0 insertions, 2 deletions
diff --git a/inc/template.php b/inc/template.php
index d0b1d3e85..0d96be214 100644
--- a/inc/template.php
+++ b/inc/template.php
@@ -1476,10 +1476,8 @@ function tpl_include_page($pageid, $print = true, $propagate = false) {
if ($propagate) $pageid = page_findnearest($pageid);
- $oldid = $ID;
$oldtoc = $TOC;
$html = p_wiki_xhtml($pageid, '', false);
- $ID = $oldid;
$TOC = $oldtoc;
if(!$print) return $html;