summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--CHANGELOG.txt3
-rw-r--r--includes/display-render.inc18
-rw-r--r--panels.module14
3 files changed, 2 insertions, 33 deletions
diff --git a/CHANGELOG.txt b/CHANGELOG.txt
index 604896c..acb98e0 100644
--- a/CHANGELOG.txt
+++ b/CHANGELOG.txt
@@ -1,6 +1,7 @@
Panels 6.x-dev
==============
#655268: Fix a problem retrieving cached content created by #634746.
+Removed the old and crufty panels_print_layout().
Panels 6.x-3.3 (2010-Feb-01)
==============
@@ -131,4 +132,4 @@ Add 'content type' property to content types.
Add 'defaults' property to content types.
Panels views cleanup, including making exposed form blocks available.
#391788 by guix: Simple cache should not unserialize data that is now already unserialized.
-#367635 by lee20: View title built too early and so lost arguments. \ No newline at end of file
+#367635 by lee20: View title built too early and so lost arguments.
diff --git a/includes/display-render.inc b/includes/display-render.inc
index f741d6e..7f327f9 100644
--- a/includes/display-render.inc
+++ b/includes/display-render.inc
@@ -41,24 +41,6 @@ function _panels_render_display(&$display) {
}
/**
- * For external use: Given a layout ID and a $content array, return the
- * panel display. The content array is filled in based upon the content
- * available in the layout. If it's a two column with a content
- * array defined like array('left' => t('Left side'), 'right' =>
- * t('Right side')), then the $content array should be array('left' =>
- * $output_left, 'right' => $output_right)
- * @render
- */
-function _panels_print_layout($id, $content) {
- $layout = panels_get_layout($id);
- if (!$layout) {
- return;
- }
-
- return panels_render_layout($layout, $content);
-}
-
-/**
* Given a full layout structure and a content array, render a panel display.
* @render
*/
diff --git a/panels.module b/panels.module
index 1b3cf56..6505d47 100644
--- a/panels.module
+++ b/panels.module
@@ -826,20 +826,6 @@ function theme_panels_render_display_form($form) {
return theme('form', $form);
}
-/**
- * For external use: Given a layout ID and a $content array, return the
- * panel display. The content array is filled in based upon the content
- * available in the layout. If it's a two column with a content
- * array defined like array('left' => t('Left side'), 'right' =>
- * t('Right side')), then the $content array should be array('left' =>
- * $output_left, 'right' => $output_right)
- * @render
- */
-function panels_print_layout($id, $content) {
- panels_load_include('plugins');
- return _panels_print_layout($id, $content);
-}
-
// @layout
function panels_print_layout_icon($id, $layout, $title = NULL) {
drupal_add_css(panels_get_path('css/panels_admin.css'));