X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=bin%2Fcleandb.sh;h=a1b38d05526ab19c502765a917bb960b51060407;hb=a2dd2e41259a5e90016efcd7d083020b95e25527;hp=4d699cc6e1237833510cdaecd10a814a77f0aca1;hpb=4212156c5c79d2f58342feb0d3ed1893f177bcab;p=roundcube.git diff --git a/bin/cleandb.sh b/bin/cleandb.sh index 4d699cc..a1b38d0 100755 --- a/bin/cleandb.sh +++ b/bin/cleandb.sh @@ -6,7 +6,7 @@ | bin/cleandb.sh | | | | This file is part of the Roundcube Webmail client | - | Copyright (C) 2010, Roundcube Dev. - Switzerland | + | Copyright (C) 2010, The Roundcube Dev Team | | Licensed under the GNU GPL | | | | PURPOSE: | @@ -16,16 +16,13 @@ | Author: Thomas Bruederli | +-----------------------------------------------------------------------+ - $Id: cleandb.sh 4164 2010-10-31 10:38:16Z thomasb $ + $Id: cleandb.sh 4677 2011-04-20 13:10:45Z alec $ */ -if (php_sapi_name() != 'cli') { - die('Not on the "shell" (php-cli).'); -} - define('INSTALL_PATH', realpath(dirname(__FILE__) . '/..') . '/' ); -require INSTALL_PATH.'program/include/iniset.php'; + +require INSTALL_PATH.'program/include/clisetup.php'; // mapping for table name => primary key $primary_keys = array(