Completed
Pull Request — master (#6)
by
unknown
07:29
created
classes/condition.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -94,7 +94,7 @@  discard block
 block discarded – undo
94 94
         $reader = array_pop($readers);
95 95
         $context = $info->get_context();
96 96
         $viewscount = $reader->get_events_select_count('contextid = :context AND userid = :userid AND crud = :crud',
97
-                                                  array('context' => $context->id, 'userid' => $userid, 'crud' => 'r'));
97
+                                                    array('context' => $context->id, 'userid' => $userid, 'crud' => 'r'));
98 98
         $allow = ($viewscount < $this->viewslimit);
99 99
         if ($not) {
100 100
             $allow = !$allow;
@@ -123,7 +123,7 @@  discard block
 block discarded – undo
123 123
         $reader = array_pop($readers);
124 124
         $context = $info->get_context();
125 125
         $viewscount = $reader->get_events_select_count('contextid = :context AND userid = :userid AND crud = :crud',
126
-                                                  array('context' => $context->id, 'userid' => $USER->id, 'crud' => 'r'));
126
+                                                    array('context' => $context->id, 'userid' => $USER->id, 'crud' => 'r'));
127 127
 
128 128
         $a = new \stdclass();
129 129
         $a->viewslimit = $this->viewslimit;
Please login to merge, or discard this patch.