diff options
author | Aleksander Machniak <alec@alec.pl> | 2014-09-10 16:32:28 +0200 |
---|---|---|
committer | Aleksander Machniak <alec@alec.pl> | 2014-09-10 16:32:28 +0200 |
commit | dcc4469844f8ce98bd8323b684e40cf64643e5ae (patch) | |
tree | 568c1ab6bb3d402a22435376a26167dce04104cd /bin/cleandb.sh | |
parent | 1985eb2e6d77fcb77c95569f43e1b0f4c91bed88 (diff) |
Don't init output in CLI mode
Fixes infinite recurssion on raise_error() call when executing scripts
out of the INSTALL_PATH. Also use 'rcube' if 'rcmail' is not needed.
Diffstat (limited to 'bin/cleandb.sh')
-rwxr-xr-x | bin/cleandb.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/cleandb.sh b/bin/cleandb.sh index add039364..165d33f38 100755 --- a/bin/cleandb.sh +++ b/bin/cleandb.sh @@ -30,7 +30,7 @@ $primary_keys = array( ); // connect to DB -$RCMAIL = rcmail::get_instance(); +$RCMAIL = rcube::get_instance(); $db = $RCMAIL->get_dbh(); $db->db_connect('w'); |