FEATURE #1753: remove pingpong/modules and use custom solution

This commit is contained in:
Michal Kváček
2017-07-31 15:32:33 +02:00
parent f876a08429
commit 72c64dc6d1
48 changed files with 1230 additions and 1156 deletions
@@ -54,16 +54,6 @@ class StaticPage extends Handler implements ContentTitles
return trans('staticpages::module.editPage');
}
/**
* Does given module manage content? Or is it just module with widgets/something internal/something absolutely else?
*
* @return bool
*/
public static function managesContent()
{
return true;
}
/**
* Does this module support categories?
*
@@ -1,8 +1,9 @@
<?php namespace Modules\Staticpages\Providers;
use App\Providers\ModuleServiceProvider;
class StaticPagesServiceProvider extends ModuleServiceProvider
use App\CMS\Contracts\Modules\ServiceProvider;
class StaticPagesServiceProvider extends ServiceProvider
{
protected function setModuleAlias()
{
-15
View File
@@ -1,15 +0,0 @@
{
"name": "pingpong-modules/staticpages",
"description": "",
"authors": [
{
"name": "Pingpong Labs",
"email": "pingpong.labs@gmail.com"
}
],
"autoload": {
"psr-4": {
"Modules\\StaticPages\\": ""
}
}
}