summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2011-10-05 09:28:25 +0000
committeralecpl <alec@alec.pl>2011-10-05 09:28:25 +0000
commit4aafd99f2d174672ef0923a246972aa04b9b9abd (patch)
tree5e735c42033ae9a6a77c89cf95e7484881aae89b
parentb96ed4b74eac384057c519346c01f52ec0659608 (diff)
- Remove memory_limit for indexcontacts.sh (#1488109)
-rwxr-xr-xbin/indexcontacts.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/indexcontacts.sh b/bin/indexcontacts.sh
index e8dec2f63..ba8fe8a21 100755
--- a/bin/indexcontacts.sh
+++ b/bin/indexcontacts.sh
@@ -23,7 +23,7 @@
define('INSTALL_PATH', realpath(dirname(__FILE__) . '/..') . '/' );
require_once INSTALL_PATH.'program/include/clisetup.php';
-
+ini_set('memory_limit', -1);
// connect to DB
$RCMAIL = rcmail::get_instance();
@@ -47,7 +47,7 @@ while ($sql_result && ($sql_arr = $db->fetch_assoc($sql_result))) {
unset($row['words']);
$contacts->update($row['ID'], $row);
}
-
+
echo "done.\n";
}