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 12d3a52 commit 0bb04d3Copy full SHA for 0bb04d3
src/Http/Controllers/LockRequestController.php
@@ -15,7 +15,7 @@ public function unlock($lockRequestID)
15
$modelLock = ModelLock::findOrFail($lockRequestID);
16
if (isset($modelLock->user_id)) {
17
if ($modelLock->user_id == Auth::id()) {
18
- $modelLock->delete();
+ $modelLock->delete(); //delees
19
}
20
21
} catch (\Illuminate\Database\Eloquent\ModelNotFoundException $e) {
0 commit comments