Skip to content

Commit

Permalink
Codestyle
Browse files Browse the repository at this point in the history
  • Loading branch information
eynimeni committed Dec 18, 2024
1 parent c8bd3c3 commit a5cbb04
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions lib.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
<?php

use mod_booking\booking_rules\booking_rules;
// This file is part of Moodle - http://moodle.org/
//
// Moodle is free software: you can redistribute it and/or modify
Expand Down Expand Up @@ -42,6 +40,7 @@
use mod_booking\teachers_handler;
use mod_booking\utils\wb_payment;
use mod_booking\booking_rules\rules_info;
use mod_booking\booking_rules\booking_rules;

// Default fields for bookingoptions in view.php and for download.
define('MOD_BOOKING_BOOKINGOPTION_DEFAULTFIELDS', "identifier,titleprefix,text,description,teacher,responsiblecontact," .
Expand Down Expand Up @@ -2367,7 +2366,7 @@ function clean_string(string $text) {
// To avoid loops, we need a counter.

$counter = 0;

$rules = rules_info::$rulestoexecute;
while (
(count(rules_info::$rulestoexecute) > 0
|| count(rules_info::$eventstoexecute) > 0)
Expand Down

0 comments on commit a5cbb04

Please sign in to comment.