summaryrefslogtreecommitdiff
path: root/ssh/app/Article.php
diff options
context:
space:
mode:
authorhorus2026-06-27 05:40:45 +0200
committerhorus2026-06-27 05:40:45 +0200
commit7ff83424592cd5a3c58fe2e6d7e67aeef5144caf (patch)
treedafafa6f83c80c8bb2ee3c0b58961197a3f2a73c /ssh/app/Article.php
parentb608ced142cd0527906b554e04376292f718f084 (diff)
downloadcurious-7ff83424592cd5a3c58fe2e6d7e67aeef5144caf.tar.gz
merge
Diffstat (limited to 'ssh/app/Article.php')
-rw-r--r--ssh/app/Article.php23
1 files changed, 0 insertions, 23 deletions
diff --git a/ssh/app/Article.php b/ssh/app/Article.php
deleted file mode 100644
index 9f11ea3..0000000
--- a/ssh/app/Article.php
+++ /dev/null
@@ -1,23 +0,0 @@
-<?php
-
-namespace App;
-
-use Illuminate\Database\Eloquent\Model;
-
-class Article extends Model
-{
- protected $table = "view_article";
-
- protected $fillable = [
- ];
-
- public function getDiscussions() {
- #return $this->hasMany('App\Discussion', 'article_id', 'id');
- return $this->hasMany('App\Discussion');
- }
-
- public function getCategories() {
- return $this->belongsToMany('App\Category', 'article_category');
- }
-}
-