Completed
Push — master ( 92a554...58f732 )
by Manel
05:05
created
src/Http/Requests/EnrollmentCreateRequest.php 1 patch
Unused Use Statements   -21 removed lines patch added patch discarded remove patch
@@ -18,24 +18,3 @@
 block discarded – undo
18 18
     public function authorize()
19 19
     {
20 20
 <<<<<<< HEAD
21
-        //return false; //Per defecte
22
-=======
23
-        //De moment true
24
->>>>>>> 92a55437464d45d8f28bae26a5a84fc695a03898
25
-        return true;
26
-    }
27
-
28
-
29
-
30
-    /**
31
-     * Get the validation rules that apply to the request.
32
-     *
33
-     * @return array
34
-     */
35
-    public function rules()
36
-    {
37
-        return [
38
-            //
39
-        ];
40
-    }
41
-}
Please login to merge, or discard this patch.
src/Models/Enrollment.php 1 patch
Unused Use Statements   +1 added lines, -4 removed lines patch added patch discarded remove patch
@@ -28,7 +28,4 @@
 block discarded – undo
28 28
 
29 29
     //public $timestamps = false;
30 30
     //all camps
31
-    protected $fillable = ['id','name','validated','finished','study_id','course_id','classroom_id','updated_at','created_at'];
32
-    //TODO: mirar estats (enrollment). Implementar i definir estats(exemple porta(esborrany,valida,feta).
33
->>>>>>> 92a55437464d45d8f28bae26a5a84fc695a03898
34
-}
31
+    protected $fillable
35 32
\ No newline at end of file
Please login to merge, or discard this patch.