Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

mark deprecated functions before removing

More
6 years 8 months ago #178627 by bismark
it would be nice to mark a deprecated function before removing it.

a sample:

there was a a function called getQuestionTypeList in common_helper.
We use it in a plugin and in 4.0.0 its gone.

please readd this function, mark as deprecated and use the new implementation there.
The topic has been locked.
More
6 years 8 months ago #178628 by bismark
ok, in my case I use the following snippet now:
Code:
if (function_exists('getQuestionTypeList')) {
    $qtypes = getQuestionTypeList('','array');
} else {
    $qtypes = QuestionType::modelsAttributes();
}
The topic has been locked.
More
6 years 8 months ago #178635 by DenisChenu
Sometimes it's done , but we need to really remove it … then need date, someone to remove it X month after etc …

And here : API updated , then no warranty.

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member. - Professional support - Plugins, theme and development .
I don't answer to private message.
The topic has been locked.
Moderators: holchtpartner

Lime-years ahead

Online-surveys for every purse and purpose