Skip to content

Commit 522827f

Browse files
authored
[6.0] Re-add FeaturedModel for correct deprecation (joomla#45015)
1 parent 60fb9c6 commit 522827f

File tree

2 files changed

+28
-2
lines changed

2 files changed

+28
-2
lines changed

administrator/components/com_content/src/Controller/FeaturedController.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@
66
*
77
* @copyright (C) 2009 Open Source Matters, Inc. <https://www.joomla.org>
88
* @license GNU General Public License version 2 or later; see LICENSE.txt
9-
*
10-
* @deprecated 6.0 will be removed in 8.0
119
*/
1210

1311
namespace Joomla\Component\Content\Administrator\Controller;
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
<?php
2+
3+
/**
4+
* @package Joomla.Administrator
5+
* @subpackage com_content
6+
*
7+
* @copyright (C) 2009 Open Source Matters, Inc. <https://www.joomla.org>
8+
* @license GNU General Public License version 2 or later; see LICENSE.txt
9+
*/
10+
11+
namespace Joomla\Component\Content\Administrator\Model;
12+
13+
// phpcs:disable PSR1.Files.SideEffects
14+
\defined('_JEXEC') or die;
15+
// phpcs:enable PSR1.Files.SideEffects
16+
17+
/**
18+
* Methods supporting a list of featured article records.
19+
*
20+
* @since 1.6
21+
*
22+
* @deprecated 6.0 will be removed in 8.0
23+
* Use \Joomla\Component\Content\Administrator\Model\ArticlesModel instead
24+
* set the filter.featured state to 1 to get only featured articles
25+
*/
26+
class FeaturedModel extends ArticlesModel
27+
{
28+
}

0 commit comments

Comments
 (0)