summaryrefslogtreecommitdiff
path: root/inc/media.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/media.php
parent2dcde3047b0cbc7cb75b3d9f84fd05a217b7fced (diff)
downloadrpg-0af14a6e25ba35e88d96762bc73325838868e3fe.tar.gz
rpg-0af14a6e25ba35e88d96762bc73325838868e3fe.tar.bz2
removed more unneeded require_once() calls
Diffstat (limited to 'inc/media.php')
-rw-r--r--inc/media.php2
1 files changed, 0 insertions, 2 deletions
diff --git a/inc/media.php b/inc/media.php
index 444e6d432..668f42d6a 100644
--- a/inc/media.php
+++ b/inc/media.php
@@ -149,7 +149,6 @@ function media_inuse($id) {
global $conf;
$mediareferences = array();
if($conf['refcheck']){
- require_once(DOKU_INC.'inc/fulltext.php');
$mediareferences = ft_mediause($id,$conf['refshow']);
if(!count($mediareferences)) {
return false;
@@ -227,7 +226,6 @@ function media_delete($id,$auth){
function media_upload($ns,$auth){
if($auth < AUTH_UPLOAD) return false;
if(!checkSecurityToken()) return false;
- require_once(DOKU_INC.'inc/confutils.php');
global $lang;
global $conf;