_batch_shutdown
includes/batch.inc, строка 349
- Версии
- 6
_batch_shutdown()
Shutdown function: store the batch data for next request, or clear the table if the batch is finished.
Код
<?php
function _batch_shutdown() {
if ($batch = batch_get()) {
db_query("UPDATE {batch} SET batch = '%s' WHERE bid = %d", serialize($batch), $batch['id']);
}
}
?>
Войдите или зарегистрируйтесь, чтобы получить возможность отправлять комментарии