summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
Diffstat (limited to 'includes')
-rw-r--r--includes/database.inc4
-rw-r--r--includes/install.inc4
-rw-r--r--includes/theme.inc2
3 files changed, 5 insertions, 5 deletions
diff --git a/includes/database.inc b/includes/database.inc
index 142466536..7e3a98368 100644
--- a/includes/database.inc
+++ b/includes/database.inc
@@ -476,14 +476,14 @@ function _db_type_placeholder($type) {
// presumably no db's "escape string" function will mess with
// those characters.
return '%s';
-
+
case 'serial':
case 'int':
return '%d';
case 'float':
return '%f';
-
+
case 'blob':
return '%b';
}
diff --git a/includes/install.inc b/includes/install.inc
index 8676b03bc..73ce2c263 100644
--- a/includes/install.inc
+++ b/includes/install.inc
@@ -353,7 +353,7 @@ function drupal_install_modules($module_list = array()) {
function drupal_uninstall_module($module) {
module_load_install($module);
module_invoke($module, 'uninstall');
-
+
// Remove menu links for paths declared by this module.
drupal_load('module', $module);
$paths = module_invoke($module, 'menu');
@@ -370,7 +370,7 @@ function drupal_uninstall_module($module) {
$paths[$index] = implode('/', $parts);
}
$placeholders = implode(', ', array_fill(0, count($paths), "'%s'"));
-
+
$result = db_query('SELECT * FROM {menu_links} WHERE router_path IN ('. $placeholders .') AND external = 0 ORDER BY depth DESC', $paths);
// Remove all such items. Starting from those with the greatest depth will
// minimize the amount of re-parenting done by menu_link_delete().
diff --git a/includes/theme.inc b/includes/theme.inc
index 111593e5a..542721b85 100644
--- a/includes/theme.inc
+++ b/includes/theme.inc
@@ -1609,7 +1609,7 @@ function template_preprocess(&$variables, $hook) {
static $count = array();
// Track run count for each hook to provide zebra striping.
- // See "template_preprocess_block()" which provides the same feature for sidebar blocks.
+ // See "template_preprocess_block()" which provides the same feature for sidebar blocks.
$count[$hook] = isset($count[$hook]) && is_int($count[$hook]) ? $count[$hook] : 1;
$variables['zebra'] = ($count[$hook] % 2) ? 'odd' : 'even';
$variables['id'] = $count[$hook]++;