summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Reid2009-10-04 03:05:53 (GMT)
committer Dave Reid2009-10-04 03:05:53 (GMT)
commit95f6963086afa5c4372e60a06d3c3128b22146b3 (patch)
tree7e23216a66195032a5f70b81cd59304fe4211f57
parentcfac856c1f0c23a7a6bfe57584521b989a12f596 (diff)
#571566 by cam8001, Dave Reid: Updated for removed drupal_function_exists() and renamed drupal_to_js().
-rw-r--r--devel_themer.module4
1 files changed, 2 insertions, 2 deletions
diff --git a/devel_themer.module b/devel_themer.module
index 5aaf70e..deffeae 100644
--- a/devel_themer.module
+++ b/devel_themer.module
@@ -440,7 +440,7 @@ function devel_themer_theme_twin() {
// call_user_func_array.
$args = array(&$variables, $hook);
foreach ($info['preprocess functions'] as $preprocess_function) {
- if (drupal_function_exists($preprocess_function)) {
+ if (function_exists($preprocess_function)) {
call_user_func_array($preprocess_function, $args);
}
}
@@ -491,7 +491,7 @@ function devel_themer_exit() {
$GLOBALS['devel_theme_calls']['request_id'] = $request_id;
$GLOBALS['devel_theme_calls']['devel_themer_uri'] = url("devel_themer/variables/$request_id");
- print '<script type="text/javascript">jQuery.extend(Drupal.settings, '. drupal_to_js($GLOBALS['devel_theme_calls']) .");</script>\n";
+ print '<script type="text/javascript">jQuery.extend(Drupal.settings, '. drupal_json_encode($GLOBALS['devel_theme_calls']) .");</script>\n";
}
}