Ken 5 dní pred
rodič
commit
99d82e0645
1 zmenil súbory, kde vykonal 0 pridanie a 10 odobranie
  1. 0 10
      app/Models/PcIssue.php

+ 0 - 10
app/Models/PcIssue.php

@@ -20,10 +20,6 @@ class PcIssue extends BaseModel
         'award',
         'winning_array',
         'end_timestamp',
-        'openCode1',
-        'openCode2',
-        'openCode3',
-        'he'
     ];
 
     public static $STATUS = [
@@ -65,12 +61,6 @@ class PcIssue extends BaseModel
         return json_decode($value, true);
     }
 
-    function getOpenCode1Attribute(){
-        $winning_numbers = explode(',', $this->winning_numbers);
-        $winning_numbers = array_map('intval', $winning_numbers);
-        return $winning_numbers[0];
-    }
-
     function getAwardAttribute()
     {
         if (!empty($this->winning_numbers)) {