summaryrefslogtreecommitdiff
path: root/inc/media.php
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2010-03-12 14:11:50 +0100
committerAndreas Gohr <andi@splitbrain.org>2010-03-12 14:11:50 +0100
commitd7879495eef6e6a998f5d727304e88dfa5420108 (patch)
tree720cee6a7b738e5fec32492b4f6c1cf69312583d /inc/media.php
parent84645d8c01570c5ea4cda556e70beccdec25ee22 (diff)
parent05ed2c25ea0dc45eef2af0f9f4176c939af41100 (diff)
downloadrpg-d7879495eef6e6a998f5d727304e88dfa5420108.tar.gz
rpg-d7879495eef6e6a998f5d727304e88dfa5420108.tar.bz2
Merge branch 'requireall'
Conflicts: inc/fulltext.php
Diffstat (limited to 'inc/media.php')
-rw-r--r--inc/media.php5
1 files changed, 0 insertions, 5 deletions
diff --git a/inc/media.php b/inc/media.php
index 3850f4e33..668f42d6a 100644
--- a/inc/media.php
+++ b/inc/media.php
@@ -8,9 +8,6 @@
if(!defined('DOKU_INC')) die('meh.');
if(!defined('NL')) define('NL',"\n");
-require_once(DOKU_INC.'inc/html.php');
-require_once(DOKU_INC.'inc/search.php');
-require_once(DOKU_INC.'inc/JpegMeta.php');
/**
* Lists pages which currently use a media file selected for deletion
@@ -152,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;
@@ -230,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;