]> git.localhorst.tv Git - alttp.git/commitdiff
hide vod with results
authorDaniel Karbach <daniel.karbach@localhorst.tv>
Fri, 21 Nov 2025 16:49:56 +0000 (17:49 +0100)
committerDaniel Karbach <daniel.karbach@localhorst.tv>
Fri, 21 Nov 2025 16:49:56 +0000 (17:49 +0100)
app/Models/Result.php

index ab9f49ffdc838f4039a858144992a1d9cb2dfb3c..7a2d7f1af4039910da5dc6d5c5d0242c5dd8a007 100644 (file)
@@ -70,7 +70,7 @@ class Result extends Model
 
        public function hideResult(User $user = null) {
                if (!$user || $this->user_id != $user->id) {
-                       $this->makeHidden(['forfeit', 'placement', 'score', 'time']);
+                       $this->makeHidden(['forfeit', 'placement', 'score', 'time', 'vod']);
                } else {
                        $this->makeHidden(['placement', 'score']);
                }