Demo addon tutorial issues

0ptima

Well-known member
Licensed customer
The demo addon tutorial not consistent and contains a broken link



XF generated Setup.php with "class Setup extends AbstractSetup" while the tutorial changes it to "class Setup extends XF\Addon\AbstractSetup" with no explanation on why this was changed. Which is correct?

191119
 
The second one is incorrect.

Issues with the docs can be reported on the GitHub repository for the documentation.

 
There is an issue with XF as well as Setup.php was generates with "class Setup extends AbstractSetup".
 
That's not an issue. That's correct. Hence why I said the second one in the documentation (that you highlighted) is incorrect.
 
Back
Top Bottom