Changeset 18

Show
Ignore:
Timestamp:
10/17/07 18:00:42 (3 years ago)
Author:
francois
Message:

integration with latest version of sfPropelAlternativeSchema Plugin

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/apps/frontend/config/app.yml

    r8 r18  
    1515 
    1616  sfModerationPlugin: 
    17     auto_register_behavior: true 
    18     moderated_classes: [sfSimpleForumPost, sfSimpleForumTopic] 
     17    auto_register_behavior: false 
  • trunk/config/propel.ini

    r7 r18  
    2727 
    2828; builder settings 
    29 propel.builder.peer.class              = plugins.sfModerationPlugin.lib.SfPeerBuilder 
    30 propel.builder.object.class            = addon.propel.builder.SfObjectBuilder 
     29propel.builder.peer.class              = plugins.sfPropelAlternativeSchemaPlugin.lib.SfAlternativePeerBuilder 
     30propel.builder.object.class            = plugins.sfPropelAlternativeSchemaPlugin.lib.SfAlternativeObjectBuilder 
    3131 
    3232propel.builder.objectstub.class        = addon.propel.builder.SfExtensionObjectBuilder 
  • trunk/config/sfSimpleForumPlugin_schema.custom.yml

    r17 r18  
    11classes: 
    22  sfSimpleForumTopic: 
     3    behaviors: [moderation] 
    34    columns: 
    45      moderation_status: { type: integer, default: 1, index: true } 
    56  sfSimpleForumPost: 
     7    behaviors: [moderation] 
    68    columns: 
    79      moderation_status: { type: integer, default: 1, index: true }