Commit 8a3a18bb authored by Dries's avatar Dries

Issue #1798782 by andreiashu: Convert field_purge_batch_size() to CMI.

parent e6b68ba9
......@@ -323,7 +323,7 @@ function field_cron() {
field_sync_field_status();
// Do a pass of purging on deleted Field API data, if any exists.
$limit = variable_get('field_purge_batch_size', 10);
$limit = config('field.settings')->get('purge_batch_size');
field_purge_batch($limit);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment