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
+5 -1
View File
@@ -9,7 +9,6 @@ use Illuminate\Database\Eloquent\Model;
*/
class Module extends Model
{
use ModelTraits\Module;
public $timestamps = false;
protected $fillable = [
'handler',
@@ -23,4 +22,9 @@ class Module extends Model
'manages_content',
'is_template'
];
protected $casts = [
'module_settings' => 'array',
'is_template' => 'boolean',
'has_submodules' => 'boolean'
];
}