Skip to content

Commit 33f55b6

Browse files
committed
Move info to base
1 parent ae123df commit 33f55b6

File tree

8 files changed

+4
-29
lines changed

8 files changed

+4
-29
lines changed

web/src/app/WebApp/Installers/BaseSetup.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,10 @@ abstract class BaseSetup implements InstallerInterface {
1414

1515
protected $domain;
1616
protected $extractsubdir;
17-
17+
18+
public function info(){
19+
return $this -> appInfo;
20+
}
1821
public function __construct($domain, HestiaApp $appcontext)
1922
{
2023
if(filter_var($domain, FILTER_VALIDATE_DOMAIN) === false) {

web/src/app/WebApp/Installers/Drupal/DrupalSetup.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,6 @@ class DrupalSetup extends BaseSetup {
2424

2525
],
2626
];
27-
28-
public function info(){
29-
return $this -> appInfo;
30-
}
3127

3228
public function install(array $options=null) : bool
3329
{

web/src/app/WebApp/Installers/Joomla/JoomlaSetup.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,6 @@ class JoomlaSetup extends BaseSetup {
2424

2525
],
2626
];
27-
28-
public function info(){
29-
return $this -> appInfo;
30-
}
3127

3228
public function install(array $options=null) : bool
3329
{

web/src/app/WebApp/Installers/Laravel/LaravelSetup.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,6 @@ class LaravelSetup extends BaseSetup {
2424
'composer' => [ 'src' => 'laravel/laravel', 'dst' => '/' ],
2525
],
2626
];
27-
28-
public function info(){
29-
return $this -> appInfo;
30-
}
3127

3228
public function install(array $options=null) : bool
3329
{

web/src/app/WebApp/Installers/Opencart/OpencartSetup.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,6 @@ class OpencartSetup extends BaseSetup {
2929
],
3030
];
3131

32-
public function info(){
33-
return $this -> appInfo;
34-
}
35-
3632
public function install(array $options = null) : bool
3733
{
3834
parent::install($options);

web/src/app/WebApp/Installers/Prestashop/PrestashopSetup.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,6 @@ class PrestashopSetup extends BaseSetup {
3030
],
3131

3232
];
33-
34-
public function info(){
35-
return $this -> appInfo;
36-
}
3733

3834
public function install(array $options=null) : bool
3935
{

web/src/app/WebApp/Installers/Symfony/SymfonySetup.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,6 @@ class SymfonySetup extends BaseSetup {
2424
'composer' => [ 'src' => 'symfony/website-skeleton', 'dst' => '/' ],
2525
],
2626
];
27-
28-
public function info(){
29-
return $this -> appInfo;
30-
}
3127

3228
public function install(array $options=null) : bool
3329
{

web/src/app/WebApp/Installers/Wordpress/WordpressSetup.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,6 @@ class WordpressSetup extends BaseSetup {
3535

3636
];
3737

38-
public function info(){
39-
return $this -> appInfo;
40-
}
41-
4238
public function install(array $options = null)
4339
{
4440
parent::install($options);

0 commit comments

Comments
 (0)