Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
mahara
mahara
Commits
51d25e53
Commit
51d25e53
authored
Oct 31, 2019
by
Cecilia Vela Gurovic
Committed by
Gerrit Code Review
Oct 31, 2019
Browse files
Options
Browse Files
Download
Plain Diff
Merge "Bug 1785985: remove prefix from db table before adding to ES queue"
parents
17bde81c
9be8c499
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
htdocs/lib/dml.php
htdocs/lib/dml.php
+3
-0
No files found.
htdocs/lib/dml.php
View file @
51d25e53
...
...
@@ -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
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment