Skip to content

Commit a3ba10d

Browse files
authored
Remove the static getLogContentTypeParams function (#45434)
Unused function
1 parent d2f8838 commit a3ba10d

File tree

1 file changed

+0
-20
lines changed

1 file changed

+0
-20
lines changed

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

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -144,26 +144,6 @@ public static function loadTranslationFiles($extension)
144144
$cache[$extension] = true;
145145
}
146146

147-
/**
148-
* Get parameters to be
149-
*
150-
* @param string $context The context of the content
151-
*
152-
* @return mixed An object contains content type parameters, or null if not found
153-
*
154-
* @since 3.9.0
155-
*
156-
* @deprecated 4.3 will be removed in 6.0
157-
* Use the action log config model instead
158-
* Example: Factory::getApplication()->bootComponent('actionlogs')->getMVCFactory()
159-
* ->createModel('ActionlogConfig', 'Administrator')->getLogContentTypeParams($context);
160-
*/
161-
public static function getLogContentTypeParams($context)
162-
{
163-
return Factory::getApplication()->bootComponent('actionlogs')->getMVCFactory()
164-
->createModel('ActionlogConfig', 'Administrator')->getLogContentTypeParams($context);
165-
}
166-
167147
/**
168148
* Get human readable log message for a User Action Log
169149
*

0 commit comments

Comments
 (0)