From ab2f41635a17f9eb92e81aa2478c39fbe2cba12e Mon Sep 17 00:00:00 2001 From: "iVampireSP.com" Date: Mon, 13 Feb 2023 16:56:14 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E8=BF=9B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Models/Transaction.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/app/Models/Transaction.php b/app/Models/Transaction.php index 262bc44..6c116fc 100644 --- a/app/Models/Transaction.php +++ b/app/Models/Transaction.php @@ -77,8 +77,6 @@ protected static function boot() }); } - // on create - public function scopeThisUser($query) { return $query->where('user_id', auth()->id());