@@ -99,7 +99,7 @@  | 
                                                    ||
| 99 | 99 | // Should double-check with paypal everytime ?  | 
                                                        
| 100 | 100 | $context = $info->get_context();  | 
                                                        
| 101 | 101 |          $allow = $DB->record_exists('availability_paypal_tnx', | 
                                                        
| 102 | -                                  array('userid' => $userid, | 
                                                        |
| 102 | +                                    array('userid' => $userid, | 
                                                        |
| 103 | 103 | 'contextid' => $context->id,  | 
                                                        
| 104 | 104 | 'payment_status' => 'Completed'));  | 
                                                        
| 105 | 105 |          if ($not) { | 
                                                        
@@ -27,5 +27,5 @@  | 
                                                    ||
| 27 | 27 | $plugin->version = 2018121901;  | 
                                                        
| 28 | 28 | $plugin->requires = 2015050500;  | 
                                                        
| 29 | 29 | $plugin->release = 6;  | 
                                                        
| 30 | -$plugin->maturity = MATURITY_STABLE;  | 
                                                        |
| 30 | +$plugin->maturity = MATURITY_STABLE;  | 
                                                        |
| 31 | 31 | $plugin->component = 'availability_paypal';  |