From ee73a723f9fb3d51927b60f6bc38b277adcf58e9 Mon Sep 17 00:00:00 2001
From: Aleksander Machniak <alec@alec.pl>
Date: Wed, 05 Jun 2013 04:56:26 -0400
Subject: [PATCH] Improvements in garbage collector: created gc() method to run all gc-related cleanups in one place, added posibility to run gc in environments without session

---
 bin/gc.sh |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/bin/gc.sh b/bin/gc.sh
index d099615..1ee6107 100755
--- a/bin/gc.sh
+++ b/bin/gc.sh
@@ -24,5 +24,4 @@
 require INSTALL_PATH.'program/include/clisetup.php';
 
 $rcmail = rcube::get_instance();
-$rcmail->temp_gc();
-$rcmail->cache_gc();
+$rcmail->gc();

--
Gitblit v1.9.1