diff options
author | Gerrit Uitslag <klapinklapin@gmail.com> | 2014-02-20 21:42:31 +0100 |
---|---|---|
committer | Gerrit Uitslag <klapinklapin@gmail.com> | 2014-02-20 21:42:31 +0100 |
commit | 2472a8f6cbd2abffe712ddd42fe2ad296d03d8f2 (patch) | |
tree | a353c49ddefb78554c51a959943efe7daed5badf /inc | |
parent | 8d443db51f9acca81484bec96d8bcd49c00e6414 (diff) | |
download | rpg-2472a8f6cbd2abffe712ddd42fe2ad296d03d8f2.tar.gz rpg-2472a8f6cbd2abffe712ddd42fe2ad296d03d8f2.tar.bz2 |
Removed unused vars, define undefined ones
Diffstat (limited to 'inc')
-rw-r--r-- | inc/io.php | 2 | ||||
-rw-r--r-- | inc/media.php | 1 |
2 files changed, 0 insertions, 3 deletions
diff --git a/inc/io.php b/inc/io.php index c5225a2e0..27a34b045 100644 --- a/inc/io.php +++ b/inc/io.php @@ -367,8 +367,6 @@ function io_createNamespace($id, $ns_type='pages') { * @author Andreas Gohr <andi@splitbrain.org> */ function io_makeFileDir($file){ - global $conf; - $dir = dirname($file); if(!@is_dir($dir)){ io_mkdir_p($dir) || msg("Creating directory $dir failed",-1); diff --git a/inc/media.php b/inc/media.php index fe155f0f3..132738942 100644 --- a/inc/media.php +++ b/inc/media.php @@ -1039,7 +1039,6 @@ function media_details($image, $auth, $rev=false, $meta=false) { * @author Kate Arzamastseva <pshns@ukr.net> */ function media_diff($image, $ns, $auth, $fromajax = false) { - global $lang; global $conf; global $INPUT; |