summaryrefslogtreecommitdiffstats
path: root/core/includes/theme.inc
diff options
context:
space:
mode:
Diffstat (limited to 'core/includes/theme.inc')
-rw-r--r--core/includes/theme.inc10
1 files changed, 3 insertions, 7 deletions
diff --git a/core/includes/theme.inc b/core/includes/theme.inc
index df03ad6..45737c5 100644
--- a/core/includes/theme.inc
+++ b/core/includes/theme.inc
@@ -932,9 +932,8 @@ function drupal_find_base_themes($themes, $key, $used_keys = array()) {
* properties are mapped to variables expected by the theme hook
* implementations.
*
- * @return string|false
- * An HTML string representing the themed output or FALSE if the passed $hook
- * is not implemented.
+ * @return
+ * An HTML string representing the themed output.
*
* @see themeable
* @see hook_theme()
@@ -983,10 +982,7 @@ function theme($hook, $variables = array()) {
if (!isset($candidate)) {
watchdog('theme', 'Theme hook %hook not found.', array('%hook' => $hook), WATCHDOG_WARNING);
}
- // There is no theme implementation for the hook passed. Return FALSE so
- // the function calling theme() can differentiate between a hook that
- // exists and renders an empty string and a hook that is not implemented.
- return FALSE;
+ return '';
}
}