From aca6d4712bc285acb1b52203d5c7d21d95e168fa Mon Sep 17 00:00:00 2001 From: John Bintz Date: Fri, 4 Dec 2009 20:36:39 -0500 Subject: [PATCH] remove commented-out debug options --- classes/ComicPressMediaHandling.inc | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/classes/ComicPressMediaHandling.inc b/classes/ComicPressMediaHandling.inc index 9d6ebec..1ebfd9f 100644 --- a/classes/ComicPressMediaHandling.inc +++ b/classes/ComicPressMediaHandling.inc @@ -103,7 +103,6 @@ class ComicPressMediaHandling { $filename_pattern = str_replace('#', '\#', basename($resolved_pattern)); while (($file = readdir($dh)) !== false) { $target = $dirname . '/' . $file; -// echo "
TARGET:
"; var_dump($target); echo "

"; if (is_file($target)) { if (preg_match("#^${filename_pattern}$#", $file) > 0) { $results[] = $target; @@ -194,18 +193,14 @@ class ComicPressMediaHandling { if (isset($globals[$type])) { $filter = $this->_expand_filter($filter, $globals[$type], $post_to_use); -// var_dump($filter); if (is_array($results = $this->_read_directory($filter))) { if (($pre_handle = apply_filters('comicpress_pre_handle_comic_path_results', false, $results, $type, $post_to_use)) !== false) { return $pre_handle; } -// echo "
RESULTS:
";var_dump($results); echo "

"; $new_results = array(); -// echo "
ABSPATH:
"; var_dump($this->_abspath()); echo "

"; foreach ($results as $result) { $new_results[] = str_replace($this->_abspath(), '', $result); } -// echo "
NEW RESULTS:
";var_dump($new_results); echo "

"; if ($multi) { return $new_results; } else { @@ -216,3 +211,4 @@ class ComicPressMediaHandling { return false; } } +