Skip to content

Commit dc4ec41

Browse files
TamaroWalterdlmsr
authored andcommitted
Fix the code formatting
1 parent 6fd8533 commit dc4ec41

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

backup/moodle2/backup_ratingallocate_activity_stepslib.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
// You should have received a copy of the GNU General Public License
1515
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
1616
namespace mod_ratingallocate;
17+
1718
defined('MOODLE_INTERNAL') || die();
1819

1920
require_once(dirname(__FILE__) . '/backup_restore_helper.php');

lib.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -737,7 +737,7 @@ function ratingallocate_reset_userdata($data) {
737737
$status[] = [
738738
'component' => $componentstr,
739739
'item' => get_string('ratings_and_allocations_deleted', RATINGALLOCATE_MOD_NAME),
740-
'error' => false
740+
'error' => false,
741741
];
742742
}
743743

locallib.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ public function __get($name) {
142142
* @param string $name
143143
* @param mixed $value
144144
*/
145-
public function __set($name, $value){
145+
public function __set($name, $value) {
146146
$this->dbrecord->{$name} = $value;
147147
}
148148

@@ -2323,7 +2323,7 @@ public function get_status() {
23232323
if ($this->ratingallocate->__get("accesstimestart") > $now) {
23242324
return self::DISTRIBUTION_STATUS_TOO_EARLY;
23252325
}
2326-
if ($this->ratingallocate->__get("accesstimestop") > $now) {
2326+
if ($this->ratingallocate->__get("accesstimestop") > $now) {
23272327
return self::DISTRIBUTION_STATUS_RATING_IN_PROGRESS;
23282328
}
23292329
if ($this->ratingallocate->__get("published") == true) {

0 commit comments

Comments
 (0)