MDL-46269 tool_httpsreplace: Support DBs with no regex (oracle & mssql)
This commit is contained in:
committed by
Marina Glancy
parent
c74748c6bd
commit
6163651e76
@@ -41,6 +41,11 @@ Example:
|
||||
exit(0);
|
||||
}
|
||||
|
||||
if (!$DB->replace_all_text_supported()) {
|
||||
echo $OUTPUT->notification(get_string('notimplemented', 'tool_httpsreplace'));
|
||||
exit(1);
|
||||
}
|
||||
|
||||
if (!is_https()) {
|
||||
echo $OUTPUT->notification(get_string('httpwarning', 'tool_httpsreplace'), 'warning');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user