Skip to content

Commit 26eedd6

Browse files
authored
[6.0] Remove app instances in plugins for layout overrides (joomla#44647)
1 parent 65880dc commit 26eedd6

File tree

5 files changed

+0
-47
lines changed

5 files changed

+0
-47
lines changed

plugins/content/vote/src/Extension/Vote.php

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -25,16 +25,6 @@
2525
*/
2626
final class Vote extends CMSPlugin
2727
{
28-
/**
29-
* @var \Joomla\CMS\Application\CMSApplication
30-
*
31-
* @since 3.7.0
32-
*
33-
* @deprecated 4.4.0 will be removed in 6.0 as it is there only for layout overrides
34-
* Use getApplication() instead
35-
*/
36-
protected $app;
37-
3828
/**
3929
* Displays the voting area when viewing an article and the voting section is displayed before the article
4030
*

plugins/installer/folderinstaller/src/Extension/FolderInstaller.php

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,6 @@
2626
*/
2727
final class FolderInstaller extends CMSPlugin implements SubscriberInterface
2828
{
29-
/**
30-
* Application object.
31-
*
32-
* @var \Joomla\CMS\Application\CMSApplication
33-
* @since 4.0.0
34-
* @deprecated 6.0 Is needed for template overrides, use getApplication instead
35-
*/
36-
protected $app;
37-
3829
/**
3930
* Returns an array of events this subscriber will listen to.
4031
*

plugins/installer/packageinstaller/src/Extension/PackageInstaller.php

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,6 @@
2626
*/
2727
final class PackageInstaller extends CMSPlugin implements SubscriberInterface
2828
{
29-
/**
30-
* Application object
31-
*
32-
* @var \Joomla\CMS\Application\CMSApplication
33-
* @since 4.0.0
34-
* @deprecated 6.0 Is needed for template overrides, use getApplication instead
35-
*/
36-
protected $app;
37-
3829
/**
3930
* Returns an array of events this subscriber will listen to.
4031
*

plugins/installer/urlinstaller/src/Extension/UrlInstaller.php

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,6 @@
2626
*/
2727
final class UrlInstaller extends CMSPlugin implements SubscriberInterface
2828
{
29-
/**
30-
* Application object.
31-
*
32-
* @var \Joomla\CMS\Application\CMSApplication
33-
* @since 4.0.0
34-
* @deprecated 6.0 Is needed for template overrides, use getApplication instead
35-
*/
36-
protected $app;
37-
3829
/**
3930
* Returns an array of events this subscriber will listen to.
4031
*

plugins/installer/webinstaller/src/Extension/WebInstaller.php

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010

1111
namespace Joomla\Plugin\Installer\Web\Extension;
1212

13-
use Joomla\CMS\Application\CMSApplication;
1413
use Joomla\CMS\Event\Installer\AddInstallationTabEvent;
1514
use Joomla\CMS\Form\Rule\UrlRule;
1615
use Joomla\CMS\Language\Text;
@@ -40,15 +39,6 @@ final class WebInstaller extends CMSPlugin implements SubscriberInterface
4039
*/
4140
public const REMOTE_URL = 'https://appscdn.joomla.org/webapps/';
4241

43-
/**
44-
* The application object.
45-
*
46-
* @var CMSApplication
47-
* @since 4.0.0
48-
* @deprecated 6.0 Is needed for template overrides, use getApplication instead
49-
*/
50-
protected $app;
51-
5242
/**
5343
* The URL to install from
5444
*

0 commit comments

Comments
 (0)