summaryrefslogtreecommitdiff
path: root/bin/gc.sh
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2013-06-05 10:56:26 +0200
committerAleksander Machniak <alec@alec.pl>2013-06-05 10:56:26 +0200
commitee73a723f9fb3d51927b60f6bc38b277adcf58e9 (patch)
tree594fa8ec279115d091aacade3019cf5d9a5283f3 /bin/gc.sh
parent42de33c7dee0dc48e54d317eefd4dac18c317e42 (diff)
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
Diffstat (limited to 'bin/gc.sh')
-rwxr-xr-xbin/gc.sh3
1 files changed, 1 insertions, 2 deletions
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();