We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b648e7c commit 162e029Copy full SHA for 162e029
src/Illuminate/Database/Eloquent/SoftDeletes.php
@@ -44,9 +44,10 @@ public function forceDelete()
44
*/
45
protected function performDeleteOnModel()
46
{
47
- $this->exists = false;
48
-
49
if ($this->forceDeleting) {
+
+ $this->exists = false;
50
51
return $this->newQueryWithoutScopes()->where($this->getKeyName(), $this->getKey())->forceDelete();
52
}
53
0 commit comments