From ee73a723f9fb3d51927b60f6bc38b277adcf58e9 Mon Sep 17 00:00:00 2001 From: Aleksander Machniak Date: Wed, 5 Jun 2013 10:56:26 +0200 Subject: 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 file changed, 1 insertion(+), 2 deletions(-) (limited to 'bin') diff --git a/bin/gc.sh b/bin/gc.sh index d09961572..1ee610741 100755 --- a/bin/gc.sh +++ b/bin/gc.sh @@ -24,5 +24,4 @@ define('INSTALL_PATH', realpath(dirname(__FILE__) . '/..') . '/' ); require INSTALL_PATH.'program/include/clisetup.php'; $rcmail = rcube::get_instance(); -$rcmail->temp_gc(); -$rcmail->cache_gc(); +$rcmail->gc(); -- cgit v1.2.3