/[drupal]/contributions/modules/import_html/modules/core.inc
ViewVC logotype

Diff of /contributions/modules/import_html/modules/core.inc

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.1.2.12, Wed Jul 1 02:40:56 2009 UTC revision 1.1.2.13, Wed Sep 9 06:47:22 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: core.inc,v 1.1.2.11 2009/05/09 14:16:30 dman Exp $  // $Id: core.inc,v 1.1.2.12 2009/07/01 02:40:56 dman Exp $
3  /**  /**
4   * @file   * @file
5   * Basic per-module functionality used by import_html.   * Basic per-module functionality used by import_html.
# Line 181  function menu_import_html_after_save($pr Line 181  function menu_import_html_after_save($pr
181    
182      if (! empty($menu)) {      if (! empty($menu)) {
183        // Found a pre-existing menu, update it        // Found a pre-existing menu, update it
184        import_html_debug(" Discovered that a placeholder menu item for %path already exists. Filling that one out with the full details now", array('%path' => $node->path));        import_html_debug("Discovered that a placeholder menu item for %path already exists. Filling that one out with the full details now", array('%path' => $node->path));
185        #dpm($menu);        #dpm($menu);
186      }      }
187      else {      else {
# Line 280  function import_html_create_menu_path($p Line 280  function import_html_create_menu_path($p
280    // and attach self to it    // and attach self to it
281    
282    if (!$parent) {    if (!$parent) {
283      import_html_debug("Failed to regressively build menu for '$path'. This should not happen. Dunno why we are here.", WATCHDOG_ERROR);      import_html_debug("Failed to regressively build menu for '$path'. This should not happen. Dunno why we are here.", array(), WATCHDOG_ERROR);
284      trigger_error("This code should never run. Something must be wrong in the input", E_USER_ERROR);      trigger_error("This code should never run. Something must be wrong in the input", E_USER_ERROR);
285      return FALSE;      return FALSE;
286    }    }

Legend:
Removed from v.1.1.2.12  
changed lines
  Added in v.1.1.2.13

  ViewVC Help
Powered by ViewVC 1.1.2