Skip to content
Snippets Groups Projects
Commit f022dd50 authored by Lachlan Ennis's avatar Lachlan Ennis
Browse files

Issue #2887225 by arunkumark, jayesh_makwana, chishah92, Sivaprasad C,...

Issue #2887225 by arunkumark, jayesh_makwana, chishah92, Sivaprasad C, elachlan: Coding Standard issues
parent 9b3f477e
No related branches found
No related tags found
No related merge requests found
......@@ -10,7 +10,10 @@
*/
function extlink_install() {
// Weight needs to be 1 for compatibility with SpamSpan.
db_query("UPDATE {system} SET weight = 1 WHERE name = 'extlink'");
db_update('system')
->fields(array('weight' => 1))
->condition('name', 'extlink', '=')
->execute();
}
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment