Skip to content

Commit 6f2cec2

Browse files
authored
[4.3] Deprecation reviews (#38657)
1 parent 5296a7b commit 6f2cec2

File tree

184 files changed

+1622
-945
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

184 files changed

+1622
-945
lines changed

administrator/components/com_actionlogs/src/Helper/ActionlogsHelper.php

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,10 @@ public static function loadTranslationFiles($extension)
155155
*
156156
* @since 3.9.0
157157
*
158-
* @deprecated 5.0 Use the action log config model instead
158+
* @deprecated 4.3 will be removed in 6.0
159+
* Use the action log config model instead
160+
* Example: Factory::getApplication()->bootComponent('actionlogs')->getMVCFactory()
161+
* ->createModel('ActionlogConfig', 'Administrator')->getLogContentTypeParams($context);
159162
*/
160163
public static function getLogContentTypeParams($context)
161164
{
@@ -316,7 +319,7 @@ public static function loadActionLogPluginsLanguage()
316319
}
317320

318321
$lang->load($extension, JPATH_ADMINISTRATOR)
319-
|| $lang->load($extension, JPATH_PLUGINS . '/' . $type . '/' . $name);
322+
|| $lang->load($extension, JPATH_PLUGINS . '/' . $type . '/' . $name);
320323
}
321324

322325
// Load plg_system_actionlogs too

administrator/components/com_banners/helpers/banners.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@
1919
*
2020
* @since 1.6
2121
*
22-
* @deprecated 5.0 Use \Joomla\Component\Banners\Administrator\Helper\BannersHelper instead
22+
* @deprecated 4.3 will be removed in 6.0
23+
* Use \Joomla\Component\Banners\Administrator\Helper\BannersHelper instead
2324
*/
2425
class BannersHelper extends \Joomla\Component\Banners\Administrator\Helper\BannersHelper
2526
{

administrator/components/com_categories/helpers/categories.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,9 @@
1818
* Categories helper.
1919
*
2020
* @since 1.6
21-
* @deprecated 5.0 Use \Joomla\Component\Categories\Administrator\Helper\CategoriesHelper instead
21+
*
22+
* @deprecated 4.3 will be removed in 6.0
23+
* Use \Joomla\Component\Categories\Administrator\Helper\CategoriesHelper instead
2224
*/
2325
class CategoriesHelper extends \Joomla\Component\Categories\Administrator\Helper\CategoriesHelper
2426
{

administrator/components/com_categories/src/Model/CategoryModel.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1209,7 +1209,8 @@ protected function batchMove($value, $pks, $contexts)
12091209
* Custom clean the cache of com_content and content modules
12101210
*
12111211
* @param string $group Cache group name.
1212-
* @param integer $clientId @deprecated 5.0 No longer used.
1212+
* @param integer $clientId No longer used, will be removed without replacement
1213+
* @deprecated 4.3 will be removed in 6.0
12131214
*
12141215
* @return void
12151216
*

administrator/components/com_contact/helpers/contact.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,9 @@
1818
* Contact component helper.
1919
*
2020
* @since 1.6
21-
* @deprecated 5.0 Use \Joomla\Component\Contact\Administrator\Helper\ContactHelper instead
21+
*
22+
* @deprecated 4.3 will be removed in 6.0
23+
* Use \Joomla\Component\Contact\Administrator\Helper\ContactHelper instead
2224
*/
2325
class ContactHelper extends \Joomla\Component\Contact\Administrator\Helper\ContactHelper
2426
{

administrator/components/com_content/helpers/content.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@
1919
*
2020
* @since 1.6
2121
*
22-
* @deprecated 5.0 Use \Joomla\Component\Content\Administrator\Helper\ContentHelper instead
22+
* @deprecated 4.3 will be removed in 6.0
23+
* Use \Joomla\Component\Content\Administrator\Helper\ContentHelper instead
2324
*/
2425
class ContentHelper extends \Joomla\Component\Content\Administrator\Helper\ContentHelper
2526
{

administrator/components/com_content/src/Model/ArticleModel.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1038,7 +1038,8 @@ protected function preprocessForm(Form $form, $data, $group = 'content')
10381038
* Custom clean the cache of com_content and content modules
10391039
*
10401040
* @param string $group The cache group
1041-
* @param integer $clientId @deprecated 5.0 No longer used.
1041+
* @param integer $clientId No longer used, will be removed without replacement
1042+
* @deprecated 4.3 will be removed in 6.0
10421043
*
10431044
* @return void
10441045
*

administrator/components/com_contenthistory/helpers/contenthistory.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@
1919
*
2020
* @since 3.2
2121
*
22-
* @deprecated 5.0 Use \Joomla\Component\Contenthistory\Administrator\Helper\ContenthistoryHelper instead
22+
* @deprecated 4.3 will be removed in 6.0
23+
* Use \Joomla\Component\Contenthistory\Administrator\Helper\ContenthistoryHelper instead
2324
*/
2425
class ContenthistoryHelper extends \Joomla\Component\Contenthistory\Administrator\Helper\ContenthistoryHelper
2526
{

administrator/components/com_fields/helpers/fields.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@
1919
*
2020
* @since 3.7.0
2121
*
22-
* @deprecated 5.0 Use \Joomla\Component\Fields\Administrator\Helper\FieldsHelper instead
22+
* @deprecated 4.3 will be removed in 6.0
23+
* Use \Joomla\Component\Fields\Administrator\Helper\FieldsHelper instead
2324
*/
2425
class FieldsHelper extends \Joomla\Component\Fields\Administrator\Helper\FieldsHelper
2526
{

administrator/components/com_fields/src/Model/FieldModel.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1077,7 +1077,8 @@ function () use ($component, $section) {
10771077
* Clean the cache
10781078
*
10791079
* @param string $group The cache group
1080-
* @param integer $clientId @deprecated 5.0 No longer used.
1080+
* @param integer $clientId No longer used, will be removed without replacement
1081+
* @deprecated 4.3 will be removed in 6.0
10811082
*
10821083
* @return void
10831084
*

0 commit comments

Comments
 (0)