Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
V
videojs-3404130
Manage
Activity
Members
Labels
Plan
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Issue forks
videojs-3404130
Commits
3831e76e
Commit
3831e76e
authored
12 years ago
by
Ben Coleman
Committed by
Jorrit Schippers
12 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Issue
#1712398
by Ben Coleman: Fixed db_query quoting for Postgres
parent
06b238a1
No related branches found
Branches containing commit
Tags
6.x-2.3
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
includes/videojs.admin.inc
+1
-1
1 addition, 1 deletion
includes/videojs.admin.inc
videojs.install
+1
-1
1 addition, 1 deletion
videojs.install
with
2 additions
and
2 deletions
includes/videojs.admin.inc
+
1
−
1
View file @
3831e76e
...
...
@@ -99,7 +99,7 @@ function videojs_settings_form_submit($form, &$form_state) {
// Clean all variables before system_settings_form_submit() creates new ones.
// This prevents variables for removed content types remaining in the variables table.
db_query
(
'
DELETE FROM {variable} WHERE name LIKE
"
videojs_%%
"
'
);
db_query
(
"
DELETE FROM
{
variable
}
WHERE name LIKE
'
videojs_%%'
"
);
// Store width & height as ints, autoplay as bool
$v
[
'videojs_height'
]
=
intval
(
$v
[
'videojs_height'
]);
...
...
This diff is collapsed.
Click to expand it.
videojs.install
+
1
−
1
View file @
3831e76e
...
...
@@ -37,7 +37,7 @@ function videojs_requirements($phase) {
* Implementation of hook_uninstall().
*/
function
videojs_uninstall
()
{
db_query
(
'
DELETE FROM {variable} WHERE name LIKE
"
videojs_%%
"
'
);
db_query
(
"
DELETE FROM
{
variable
}
WHERE name LIKE
'
videojs_%%'
"
);
}
/**
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment