Commit 51d25e53 authored by Cecilia Vela Gurovic's avatar Cecilia Vela Gurovic Committed by Gerrit Code Review

Merge "Bug 1785985: remove prefix from db table before adding to ES queue"

parents 17bde81c 9be8c499
......@@ -1103,6 +1103,9 @@ function get_table_from_query($sql) {
$idsql = 'SELECT * FROM ' . $matches[2];
$type = 'update';
}
if (get_config('dbprefix')) {
$table = str_replace(get_config('dbprefix'), $table, '');
}
return array($type, $table, $idsql, $bindoffset);
}
......
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