diff options
author | Marvin Borner | 2018-04-26 21:59:59 +0200 |
---|---|---|
committer | Marvin Borner | 2018-04-26 21:59:59 +0200 |
commit | 111c0366708428c49b4e3a1d28b5628b6aec6c06 (patch) | |
tree | 2c6f06a8506a0610858e58ac977182119b2908d1 /main/app/sprinkles/ConfigManager/src/Database/Models/Config.php | |
parent | 684482407f8cdd0f0c9b866c3966b95f5b8be219 (diff) |
code cleanup and extended permissions (mainly database side)
Diffstat (limited to 'main/app/sprinkles/ConfigManager/src/Database/Models/Config.php')
-rw-r--r-- | main/app/sprinkles/ConfigManager/src/Database/Models/Config.php | 70 |
1 files changed, 0 insertions, 70 deletions
diff --git a/main/app/sprinkles/ConfigManager/src/Database/Models/Config.php b/main/app/sprinkles/ConfigManager/src/Database/Models/Config.php deleted file mode 100644 index 53a85ca..0000000 --- a/main/app/sprinkles/ConfigManager/src/Database/Models/Config.php +++ /dev/null @@ -1,70 +0,0 @@ -<?php -/** - * UF Settings - * - * @link https://github.com/lcharette/UF_Settings - * @copyright Copyright (c) 2016 Louis Charette - * @license - */ -namespace UserFrosting\Sprinkle\ConfigManager\Database\Models; - -use \Illuminate\Database\Capsule\Manager as Capsule; -use UserFrosting\Sprinkle\Core\Database\Models\Model; - -/** - * Settings class. - * - * @extends Model - */ -class Config extends Model { - - /** - * @var string The name of the table for the current model. - */ - protected $table = "settings"; - - /** - * @var array The fields of the table for the current model. - */ - protected $fillable = [ - "key", - "value", - "cache" - ]; - - /** - * @var bool Enable timestamps for Users. - */ - public $timestamps = true; - - /** - * Create a new Project object. - * - */ - public function __construct($properties = []) - { - parent::__construct($properties); - } - - /** - * Model's relations - * Each of those should be in delete ! - * - */ - - /** - * Model's parent relation - * - */ - - /** - * Delete this group from the database, along with any linked user and authorization rules - * - */ - public function delete() - { - // Delete the main object - $result = parent::delete(); - return $result; - } -}
\ No newline at end of file |