Revert to boot

This commit is contained in:
Allon Moritz 2023-04-11 07:39:51 +02:00
parent 4118d64744
commit 76536ebfee
3 changed files with 14 additions and 8 deletions

View File

@ -156,9 +156,11 @@ class ArticlesLatestHelper implements DatabaseAwareInterface
*
* @since 1.6
*
* @deprecated 4.3 will be removed in 6.0
* Use the none static function getArticles
* Example: (new ArticlesLatestHelper())->getArticles($params, Factory::getApplication());
* @deprecated 4.3 will be removed in 6.0
* Use the non-static method getArticles
* Example: Factory::getApplication()->bootModule('mod_articles_latest', 'site')
* ->getHelper('ArticlesLatestHelper')
* ->getArticles($params, Factory::getApplication())
*/
public static function getList(Registry $params, ArticlesModel $model)
{

View File

@ -196,9 +196,11 @@ class ArticlesNewsHelper implements DatabaseAwareInterface
*
* @since 1.6
*
* @deprecated 4.3 will be removed in 6.0
* Use the none static function getArticles
* Example: (new ArticlesNewsHelper())->getArticles($params, Factory::getApplication());
* @deprecated 4.3 will be removed in 6.0
* Use the non-static method getArticles
* Example: Factory::getApplication()->bootModule('mod_articles_news', 'site')
* ->getHelper('ArticlesNewsHelper')
* ->getArticles($params, Factory::getApplication())
*/
public static function getList(&$params)
{

View File

@ -172,8 +172,10 @@ class ArticlesPopularHelper
* @since 4.3.0
*
* @deprecated 4.3 will be removed in 6.0
* Use a call via a ArticlesPopularHelper instance instead
* Example: (new ArticlesPopularHelper())->getArticles($params, Factory::getApplication())
* Use the non-static method getArticles
* Example: Factory::getApplication()->bootModule('mod_articles_popular', 'site')
* ->getHelper('ArticlesPopularHelper')
* ->getArticles($params, Factory::getApplication())
*/
public static function getList(&$params)
{