From 574106c31c40049a8ac3335269daf378599f4f4b Mon Sep 17 00:00:00 2001 From: Michael J Rubinsky Date: Mon, 7 Oct 2013 12:20:03 -0400 Subject: [PATCH] Remove debug line and simplify. --- kronolith/config/prefs.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/kronolith/config/prefs.php b/kronolith/config/prefs.php index f203296cb5d..8bd288ff221 100644 --- a/kronolith/config/prefs.php +++ b/kronolith/config/prefs.php @@ -484,10 +484,8 @@ $ui->prefs['fb_cals']['enum'] = $enum; }, 'on_change' => function() { - $cache = $GLOBALS['injector']->getInstance('Horde_Cache'); - $key = 'kronolith.fb.u.' . $GLOBALS['registry']->getAuth(); - Horde::debug($key); - $cache->expire($key); + $GLOBALS['injector']->getInstance('Horde_Cache') + ->expire('kronolith.fb.u.' . $GLOBALS['registry']->getAuth()); } );