summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorEvan Prodromou <evan@status.net>2010-01-04 22:48:48 -1000
committerEvan Prodromou <evan@status.net>2010-01-04 22:48:48 -1000
commitf13cad656e1f53d8f801a4787bd8b28df427c6c2 (patch)
treebcc81abe17429121227c5bc63c6b27beb11b76dd /plugins
parentcde1f998386a59f2eba65bff37a177d9e7a428f9 (diff)
remove logging stuff from DiskCache
Diffstat (limited to 'plugins')
-rw-r--r--plugins/DiskCachePlugin.php7
1 files changed, 0 insertions, 7 deletions
diff --git a/plugins/DiskCachePlugin.php b/plugins/DiskCachePlugin.php
index 86aedd19c..2b788decb 100644
--- a/plugins/DiskCachePlugin.php
+++ b/plugins/DiskCachePlugin.php
@@ -69,11 +69,8 @@ class DiskCachePlugin extends Plugin
{
$filename = $this->keyToFilename($key);
if (file_exists($filename)) {
- $this->log(LOG_INFO, "Cache hit on key '$key'");
$data = file_get_contents($filename);
$value = unserialize($data);
- } else {
- $this->log(LOG_INFO, "Cache miss on key '$key'");
}
Event::handle('EndCacheGet', array($key, &$value));
@@ -94,8 +91,6 @@ class DiskCachePlugin extends Plugin
function onStartCacheSet(&$key, &$value, &$flag, &$expiry, &$success)
{
- $this->log(LOG_INFO, "Setting value for key '$key'");
-
$filename = $this->keyToFilename($key);
$parent = dirname($filename);
@@ -140,8 +135,6 @@ class DiskCachePlugin extends Plugin
function onStartCacheDelete(&$key, &$success)
{
- $this->log(LOG_INFO, "Deleting value for key '$key'");
-
$filename = $this->keyToFilename($key);
if (file_exists($filename) && !is_dir($filename)) {