summaryrefslogtreecommitdiff
path: root/functions.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2010-11-05 16:25:33 +0300
committerAndrew Dolgov <[email protected]>2010-11-05 16:25:33 +0300
commitd8221301651527b93b113ba21e9978a5606dd4df (patch)
treee36a5c7fdfe6fd29eb1835380dfcd495181b93f1 /functions.php
parentf1f3a642d651c2120e52c8df2edc50dc72d0c756 (diff)
rename print_init_params() to make_init_params()
Diffstat (limited to 'functions.php')
-rw-r--r--functions.php8
1 files changed, 2 insertions, 6 deletions
diff --git a/functions.php b/functions.php
index 87a76e1dd..59939b967 100644
--- a/functions.php
+++ b/functions.php
@@ -3134,9 +3134,7 @@
return array("param" => $param, "value" => $value);
}
- function print_init_params($link) {
- print "<init-params><![CDATA[";
-
+ function make_init_params($link) {
$params = array();
array_push($params, make_init_param("theme", get_user_theme($link)));
@@ -3204,9 +3202,7 @@
array_push($params, make_init_param("collapsed_feedlist",
(int) get_pref($link, "_COLLAPSED_FEEDLIST")));
- print json_encode($params);
-
- print "]]></init-params>";
+ return $params;
}
function print_runtime_info($link) {