~quam-plures-core/quam-plures/xml-comment-feeds-fix

« back to all changes in this revision

Viewing changes to qp_inc/plugins/model/_plugins.class.php

  • Committer: EdB
  • Date: 2013-05-18 17:02:22 UTC
  • mfrom: (7556.2.107 quam-plures)
  • Revision ID: 1912webworks@gmail.com-20130518170222-ccp8ok2njoasujlb
updating to current core

Show diffs side-by-side

added added

removed removed

Lines of Context:
425
425
                                                // Remove any prerenderered content for the Plugins renderer code
426
426
                                                if( ! empty( $Plugin->code ) )
427
427
                                                {
428
 
                                                        $DB->query( 'DELETE FROM T_items__prerendering
 
428
                                                        $DB->query( 'DELETE FROM T_item_prerendering
429
429
                                                                WHERE itpr_renderers REGEXP "^(.*\.)?'.$DB->escape( $Plugin->code ).'(\..*)?$"' );
430
430
                                                }
431
431
 
1505
1505
                $this->index_event_IDs = array();
1506
1506
 
1507
1507
                foreach( $DB->get_results( 'SELECT pevt_plug_ID, pevt_event
1508
 
                        FROM T_pluginevents INNER JOIN T_plugins ON pevt_plug_ID = plug_ID
 
1508
                        FROM T_plugin_events INNER JOIN T_plugins ON pevt_plug_ID = plug_ID
1509
1509
                        WHERE pevt_enabled > 0 AND plug_status = \'enabled\'
1510
1510
                        ORDER BY plug_priority, plug_classname', OBJECT, 'Loading plugin events' ) as $l_row )
1511
1511
                {