Development

#3149 (bad name for retrieve_by_name_method in lib/sfSimpleForumTools.class.php)

You must first sign up to be able to contribute.

Ticket #3149 (new defect)

Opened 4 months ago

bad name for retrieve_by_name_method in lib/sfSimpleForumTools.class.php

Reported by: mazenovi Assigned to: francois
Priority: minor Milestone:
Component: sfSimpleForumPlugin Version: 1.0.11
Keywords: app.yml Cc:
Qualification: Unreviewed

Description

in apps/myapp/config/app.yml retrieve method can be customed with all:

sfSimpleForumPlugin:

retrieve_by_name_method: retrieveByPk

And in the plugin lib/sfSimpleForumTools.class.php this variable is accessed by sfConfig::get('app_sfSimpleForumPlugin_user_retrieve_by_name_method', 'retrieveByUsername'); and it should be sfConfig::get('app_sfSimpleForumPlugin_retrieve_by_name_method', 'retrieveByUsername');