- Posts: 70
- Thank you received: 15
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
mark deprecated functions before removing
- bismark
- Topic Author
- Offline
- Senior Member
Less
More
5 years 4 months ago #178627
by bismark
mark deprecated functions before removing was created 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.
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.
- bismark
- Topic Author
- Offline
- Senior Member
Less
More
- Posts: 70
- Thank you received: 15
5 years 4 months ago #178628
by bismark
Replied by bismark on topic mark deprecated functions before removing
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.
- DenisChenu
- Away
- LimeSurvey Community Team
Less
More
- Posts: 13631
- Thank you received: 2490
5 years 4 months ago #178635
by DenisChenu
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
Replied by DenisChenu on topic mark deprecated functions before removing
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.
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 service on demand , plugin development .
I don't answer to private message.
The topic has been locked.