Commit 45813724 authored by Chris Coulson's avatar Chris Coulson Committed by Carlos Garnacho

Do not trigger crawling under any circumstance if EnableIndexing is false.

parent 475992bc
......@@ -1031,6 +1031,13 @@ process_module_next (TrackerProcessor *processor)
const gchar *module_name;
gboolean is_removable_media;
if (tracker_status_get_is_readonly ()) {
/* Block any request to process
* modules if indexing is not enabled
*/
return;
}
/* Don't recursively iterate the modules if this function is
* called, check first.
*/
......
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