Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Issue forks
colorbox-3183921
Commits
0c970539
Commit
0c970539
authored
Aug 14, 2013
by
frjo
Browse files
Use db_delete() in uninstall to delete colorbox_* variables.
parent
039e8a7f
Changes
1
Hide whitespace changes
Inline
Side-by-side
colorbox.install
View file @
0c970539
...
...
@@ -47,7 +47,7 @@ function colorbox_requirements($phase) {
* Implements hook_uninstall().
*/
function
colorbox_uninstall
()
{
db_
query
(
"DELETE FROM
{
variable
}
WHERE name LIKE 'colorbox_%'"
);
db_
delete
(
'variable'
)
->
condition
(
'name'
,
db_like
(
'colorbox_'
)
.
'%'
,
'LIKE'
)
->
execute
(
);
}
/**
...
...
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