summaryrefslogtreecommitdiff
path: root/inc/common.php
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2010-02-01 15:38:41 +0100
committerAndreas Gohr <andi@splitbrain.org>2010-02-01 15:38:41 +0100
commit0af14a6e25ba35e88d96762bc73325838868e3fe (patch)
tree8f60efb36406b6e8a5cf5d3269384e26fa072828 /inc/common.php
parent2dcde3047b0cbc7cb75b3d9f84fd05a217b7fced (diff)
downloadrpg-0af14a6e25ba35e88d96762bc73325838868e3fe.tar.gz
rpg-0af14a6e25ba35e88d96762bc73325838868e3fe.tar.bz2
removed more unneeded require_once() calls
Diffstat (limited to 'inc/common.php')
-rw-r--r--inc/common.php2
1 files changed, 0 insertions, 2 deletions
diff --git a/inc/common.php b/inc/common.php
index ef35ca863..c68eb2899 100644
--- a/inc/common.php
+++ b/inc/common.php
@@ -1003,7 +1003,6 @@ function saveWikiText($id,$text,$summary,$minor=false){
// if useheading is enabled, purge the cache of all linking pages
if(useHeading('content')){
- require_once(DOKU_INC.'inc/fulltext.php');
$pages = ft_backlinks($id);
foreach ($pages as $page) {
$cache = new cache_renderer($page, wikiFN($page), 'xhtml');
@@ -1091,7 +1090,6 @@ function notify($id,$who,$rev='',$summary='',$minor=false,$replace=array()){
}elseif($rev){
$subject = $lang['mail_changed'].' '.$id;
$text = str_replace('@OLDPAGE@',wl($id,"rev=$rev",true,'&'),$text);
- require_once(DOKU_INC.'inc/DifferenceEngine.php');
$df = new Diff(explode("\n",rawWiki($id,$rev)),
explode("\n",rawWiki($id)));
$dformat = new UnifiedDiffFormatter();