From 981776a1e047488ac6ed4b72c21b23b0d6a4704e Mon Sep 17 00:00:00 2001
From: mikeytown2 <mike.carper@gmail.com>
Date: Fri, 4 Mar 2011 04:38:29 -0500
Subject: [PATCH] Issue #1080986 by mikeytown2: fix debug output.

---
 advagg.module                                |    2 +-
 advagg_js_compress/advagg_js_compress.module |    1 -
 2 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/advagg.module b/advagg.module
index b31f98c..9e48fb0 100644
--- a/advagg.module
+++ b/advagg.module
@@ -308,7 +308,7 @@ function advagg_processor(&$variables) {
       'js_after' => $processed_js,
     );
     $data = str_replace('    ', '&nbsp;&nbsp;&nbsp;&nbsp;', nl2br(htmlentities(print_r($data, TRUE))));
-    watchdog('advagg', 'Debug info: !data', array('!$data' => $data), WATCHDOG_DEBUG);
+    watchdog('advagg', 'Debug info: !data', array('!data' => $data), WATCHDOG_DEBUG);
   }
 }
 
diff --git a/advagg_js_compress/advagg_js_compress.module b/advagg_js_compress/advagg_js_compress.module
index f7bb2bf..02e0256 100644
--- a/advagg_js_compress/advagg_js_compress.module
+++ b/advagg_js_compress/advagg_js_compress.module
@@ -41,7 +41,6 @@ function advagg_js_compress_advagg_files_table($row, $checksum) {
       'filename' => $row['filename_md5'],
     );
     advagg_js_compress_test_compression($files_to_test);
-    watchdog('asdfg', $checksum . ' ' . $row['checksum'] . ' ' . $row['filetype']);
   }
 }
 
-- 
1.7.4.1

