Completed
Push — master ( 97d91d...ed6911 )
by Daniel Neis
01:38
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.
version.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,4 +28,4 @@
 block discarded – undo
28 28
 $plugin->requires = 2014111000;
29 29
 $plugin->component = 'availability_maxviews';
30 30
 $plugin->release = 4;
31
-$plugin->maturity   = MATURITY_STABLE;
31
+$plugin->maturity = MATURITY_STABLE;
Please login to merge, or discard this patch.