package TWiki::Contrib::FuncUsersContrib
this is correct, but it needs to change to also extend TWiki::Func
, thus
package TWiki::Contrib::FuncUsersContrib; # VERSION and suchlike stuff # stubs linking to TWiki::Func methods package TWiki::Func; # actual implsThat way plugins that use it can work in TWiki-4 by:
if (this_is_twiki4) { eval 'use TWiki::Contrib::FuncUsersContrib'; }and in TWiki-5 can just use the native fns in TWiki::Func in the core. CC
ItemTemplate | |
---|---|
Summary | FUC needs to extend Func |
ReportedBy |
TWiki:Main.CrawfordCurrie![]() |
Codebase | ~twiki4, ~develop |
SVN Range | Wed, 24 May 2006 build 10305 |
AppliesTo | Extension |
Component | FuncUsersContrib |
Priority | Urgent |
CurrentState | Closed |
WaitingFor | |
Checkins | 10352 10353 |
TargetRelease | n/a |