Commit cce535e8 authored by Robert Lyon's avatar Robert Lyon Committed by Gerrit Code Review
Browse files

Merge "Bug 1634297: Use table prefix for sql calls"

parents 5c84ffca 5d4e6f75
......@@ -2078,7 +2078,7 @@ abstract class Plugin implements IPlugin {
$cname = $def['connection'];
if ($results = get_records_sql_assoc(
'SELECT cci.*
FROM client_connections_institution AS cci
FROM {client_connections_institution} AS cci
WHERE cci.class = ? AND
cci.connection = ? AND
cci.institution IN ('.join(',', array_map('db_quote', $institutions)).') AND enable = 1', array($me, $cname))
......
......@@ -83,7 +83,7 @@ class webservice_rest_server extends webservice_base_server {
}
}
execute_sql("delete from oauth_server_nonce");
delete_records('oauth_server_nonce');
// if we should have one - setup the OAuth server handler
$oauth_token = null;
......
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