Changeset 17888


Ignore:
Timestamp:
09/13/12 17:41:59 (7 years ago)
Author:
mistic100
Message:

Call to undefined function mass_inserts_ignore

Location:
extensions/linked_pages
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • extensions/linked_pages/admin.php

    r17882 r17888  
    7272    } 
    7373     
    74     mass_inserts_ignore( 
     74    mass_inserts( 
    7575      LINKEDPAGES_TABLE,  
    7676      array('category_id','page_id','pos'),  
  • extensions/linked_pages/main.inc.php

    r17882 r17888  
    2222 
    2323 
    24 // +-----------------------------------------------------------------------+ 
    25 // | Add event handlers                                                    | 
    26 // +-----------------------------------------------------------------------+ 
    2724// init the plugin 
    2825add_event_handler('init', 'linked_pages_init'); 
    29  
    30 if (defined('IN_ADMIN')) 
    31 { 
    32   add_event_handler('tabsheet_before_select', 'linked_pages_tabsheet_before_select', EVENT_HANDLER_PRIORITY_NEUTRAL, 2); 
    33 } 
    34 else 
    35 { 
    36   add_event_handler('loc_end_index', 'linked_pages_loc_end_index', EVENT_HANDLER_PRIORITY_NEUTRAL+20); 
    37 } 
    38  
    39 include_once(LINKEDPAGES_PATH . 'include/functions.inc.php'); 
    40  
    4126 
    4227 
     
    5237    return; 
    5338  } 
     39   
     40  // add event handlers 
     41  if (defined('IN_ADMIN')) 
     42  { 
     43    add_event_handler('tabsheet_before_select', 'linked_pages_tabsheet_before_select', EVENT_HANDLER_PRIORITY_NEUTRAL, 2); 
     44  } 
     45  else 
     46  { 
     47    add_event_handler('loc_end_index', 'linked_pages_loc_end_index', EVENT_HANDLER_PRIORITY_NEUTRAL+20); 
     48  } 
     49 
     50  include_once(LINKEDPAGES_PATH . 'include/functions.inc.php'); 
    5451   
    5552  if ( 
Note: See TracChangeset for help on using the changeset viewer.