Commit c79d9d47 by Oleg Schelkunov

Add dependency to RainLab.Translate plugin and fix type to Translatable dependency

parent f74b0c44
...@@ -10,6 +10,8 @@ use System\Classes\PluginBase; ...@@ -10,6 +10,8 @@ use System\Classes\PluginBase;
class Plugin extends PluginBase class Plugin extends PluginBase
{ {
public $require = ['RainLab.Translate'];
/** /**
* Returns information about this plugin. * Returns information about this plugin.
* *
......
...@@ -13,7 +13,7 @@ class Category extends Model ...@@ -13,7 +13,7 @@ class Category extends Model
use \October\Rain\Database\Traits\Validation; use \October\Rain\Database\Traits\Validation;
use \October\Rain\Database\Traits\NestedTree; use \October\Rain\Database\Traits\NestedTree;
public $implement = ['@RainLab.Translate.Behaviors.TranslatableModel']; public $implement = ['RainLab.Translate.Behaviors.TranslatableModel'];
/** /**
* @var boolean Channel has new posts for member, set by ChannelWatch model * @var boolean Channel has new posts for member, set by ChannelWatch model
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment